We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

API to void payment with invoice cancellation

Received Response
11
Views
1
Comments

Summary: currently UI supports voiding payment with Cancel Invoice option (see screenshot below)

is there API to do similar ?


Content (required):

we can succesfully void payment using REST API with PATCH method /fscmRestApi/resources/11.13.18.05/payablesPayments/{PaymentId}

but it leaves invoices uncancelled.

Oracle support document REST API For Voiding Payments And Have Questions On Invoices (Doc ID 2657887.1)

makes clarification to run sequence of API calls:

  1. pull invoice ids for given payment
  2. void payment via API
  3. run in the loop of ids from step #1 to cancel each individual invoices

but this process may leave odd transactions if one of API in step #3 fails and there is no rollback

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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