Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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