How to update Voucher number on canceled invoice by REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!