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

Payables Invoice REST web service security

edited Aug 21, 2019 8:35PM in Payables, Payments & Cash Management 1 comment

Summary

Privilege to create invoice with REST web service

Content

I'm trying to create a payables invoice using a REST web service and getting a 403 Forbidden message.  I have assigned the appropriate Accounts Payable Manager role, data access to business unit, and created a custom role with the "Create Payables Invoice by Web Service" privilege then assigned to my user.

Is the "Create Payables Invoice by Web Service" privilege only applicable to SOAP web services?  If so, what is the privilege required for creating with REST?

 

Version

19b

Code Snippet

https://<pod>/fscmRestApi/resources/11.13.18.05/invoices

Method: POST

Below is the REST JSON body:

{
   "InvoiceNumber":"WJ_ERL_20190509_0843",
   "InvoiceCurrency":"USD",
   "PaymentCurrency":"USD",
   "InvoiceAmount":100,
   "InvoiceDate":"2019-05-09",
   "BusinessUnit":"Corporate BU",
   "SupplierNumber":"10000",
   "ProcurementBU":null,
   "SupplierSite":"VERNON HILLS",
   "Requester":null,
   "AccountingDate":"2019-05-09",
   "InvoiceSource":"IMPORTACAO",
   "InvoiceType":"Standard",
   "PaymentTerms":"Net 30",
   "PaymentMethod":"Electronic",
   
   "invoiceLines":[
      {
         "LineNumber":1,
         "LineAmount":100,
         "invoiceDistributions":[
      
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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