My Oracle Support Banner

The Value For The Attribute Supplier Site Is Invalid. You Must Provide A Valid Value. (AP-810667) (Doc ID 2669287.1)

Last updated on NOVEMBER 05, 2024

Applies to:

Oracle Fusion Payables Cloud Service - Version 11.13.20.01.0 and later
Information in this document applies to any platform.

Goal

On : 11.13.20.01.0 version, Manage Invoices-Audit Invoices

The value for the attribute Supplier Site is invalid. You must provide a valid value. (AP-810667)

Hi,

I try to create a Payables Invoice via REST API, however I get the error: The value for the attribute Supplier Site is invalid. You must provide a valid value. (AP-810667)


Method: POST
Content-Type: application/vnd.oracle.adf.resourceitem+json

Request:
{
"InvoiceNumber": "test",
"InvoiceCurrency": "xxxx",
"InvoiceDate": "2020-05-11",
"BusinessUnit": "xxxxxxx",
"Supplier": "xxxx",
"SupplierSite": "xxxxx",

"attachments": [{
"Type": "File",
"FileName": "REST Invoice related attachment.txt",
"Title": "REST Invoice related attachment",
"Description": "REST Invoice related attachment",
"Category": "From Supplier",
"FileContents": "YWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA0KYWxpIGludm9pY2UgdGVzdA=="

}],

"invoiceLines": [{
"LineNumber": 1,
"LineAmount": 400,
"PurchaseOrderNumber": "320",

"invoiceDistributions": [{
"DistributionLineNumber": 1,
"DistributionLineType": "Item",
"DistributionAmount": 400,
"PurchaseOrderDistributionLineNumber": 1,
"PurchaseOrderNumber": "320",
"PurchaseOrderLineNumber": 1,
"PurchaseOrderScheduleLineNumber": 1

}]
}]

}
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.