How to add new invoice to payment using 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 add new invoice to payment using API

Summary:

Trying to setup a payment using API and then add related Invoices.

PaymentCreation
https://{{pod}}/fscmRestApi/resources/11.13.18.05/payablesPayments

This creates a payment using 1 invoice.

Then using below API for related invoice to add a new invoice -

https://{{pod}}/fscmRestApi/resources/11.13.18.05/payablesPayments/300000012586053/child/relatedInvoices

{"AmountPaidPaymentCurrency": 100,"CheckId": XXXX,"InstallmentNumber": 1,"InvoiceId": XXXXX,"InvoiceNumber":"TEST_INV_1","InvoicePaymentId": XXXXX}

Getting Below error

"You must provide a valid value for the Invoice Number attribute. (AP-810667)"
errorCode": "AP:::AP_RS_INVALID_VALUE" 

Not sure what is wrong with invoice number. If using this invocie number in payment creation, payment getting creates successfully. Only receiving error when trying for related invoice.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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