Unable to create Recievables Invoice using REST API ; 400 Bad request
Summary:
Unable to create Recievables Invoice using REST API. Document followed: https://docs.oracle.com/en/cloud/saas/financials/23c/farfa/op-receivablesinvoices-post.html
I am getting 400 bad request on submitting the POST request.
FYI: Write off-limit has been set too.
I'm not able to identify what is wrong with the payload as the error message doesn't specify which field is giving the issue
API: host:/fscmRestApi/resources/11.13.18.05/receivablesInvoices
Payload: {
"BillingDate": null,
"BillToCustomerNumber": "46004",
"BillToSite": "40001",
"BusinessUnit": "RETAL_BU",
"Comments": "Created through API",
"DueDate": "2023-08-19",
"InternalNotes": "Created through API",
"InvoiceCurrencyCode": "SAR",
"PaymentTerms": "IMMEDIATE",
"TransactionDate": "2021-08-07",
"TransactionSource": "Individual Transaction",
"ShipToCustomerName": null,
"ShipToCustomerNumber" : null,