Previlages required to use Ap Invoice DFF in the request paylod.
Summary:
we are using below payload for creating an AP invoice.
{
"InvoiceNumber": "RE_321",
"InvoiceCurrency": "USD",
"InvoiceAmount": 24515.52,
"InvoiceDate": "2020-07-05",
"InvoiceType": "Standard",
"InvoiceSource": "XXRE",
"BusinessUnit": "MGBM",
"Supplier": "TRADING AND DEVELOPMENT PARTNERSHIP",
"SupplierSite": "Delhi",
"Requester": null,
"InvoiceGroup": null,
"Description": "--Invoice Created using REST API",
"invoiceDff" :[{
"sordernumber": "12502"
}],
"invoiceLines": [{
"LineNumber": 1,
"LineAmount": 24515.52,
"Description": "Line 1 Description",
"invoiceDistributions": [{
"DistributionLineNumber": 1,
"DistributionLineType": "Item",
"DistributionAmount": 2112.75,
"DistributionCombination": "000.000.0000.00000.00000.000.0000.0000"
}]
}
]
}
When i use oic login i am getting "Invalid attribute "sordernumber" in the payload." error from postman whereas when i use fusion user logins , invoice is being created.
sordernumber is defined as Invoice header global segment.
Any pointer please help.
Regards,
Content (please ensure you mask any confidential information):