How to update Voucher number on canceled invoice by REST API
Summary:
We need to update Voucher Number on existing invoice.
Content (please ensure you mask any confidential information):
We need to update Voucher Number on existing invoice.
The invoice is in cancelled status with an incorrect voucher number and we try to update it via Rest API.
We try to run the PATCH: fscmRestApi/resources/11.13.18.05/invoices/300000004118865
with Body: { "DocumentSequence": "102"}
But the result is: "You can't update the invoice because it's canceled. (AP-810832)"
We try to do the same with a Validated Invoice
PATCH: fscmRestApi/resources/11.13.18.05/invoices/300000004118865
But the result is: You can't update the Voucher Number attribute once the invoice is created. (AP-810908)