AP invoice with REST call with supplier number
Summary: I am trying to create AP invoice with REST call it work well with supplier name but, does not work with supplier number (for same vendor/supplier).
Content (required): REST call with supplier number fail (The value for the Supplier, Supplier Site attribute is invalid. You must provide a valid value. (AP-810667) )
{
"InvoiceNumber": "2172305",
"InvoiceCurrency": "USD",
"InvoiceAmount": 2212.75,
"InvoiceDate": "2022-11-01",
"BusinessUnit": "Test Business Unit",
"SupplierNumber": "10001",
"SupplierSite": "Virginia Beach",
"Description": "AP Invoice with REST",
"InvoiceSource": "Conversion",
"InvoiceType": "Standard",
"AccountingDate": "2022-11-01",
"invoiceLines": [
{
"LineNumber": 1,
"LineAmount": 2212.75,
"DistributionSet": "CRP1 Test"
}
]
}
REST call with supplier name work
{
"InvoiceNumber": "2172305",
"InvoiceCurrency": "USD",
"InvoiceAmount": 2212.75,
"InvoiceDate": "2022-11-01",
"BusinessUnit": "Test Business Unit",