In this article, I will show you how to use REST API to fetch a list of invoices from Oracle ERP Cloud.
Get All Invoices REST API
You can use the Get all Invoices REST API to get a list of invoices from the Accounts Payables module in Oracle ERP Cloud.
You can read more about the API here. Here are the high level details of the API.
- Type: GET
- End Point: /fscmRestApi/resources/11.13.18.05/invoices
Now let’s test out the API.
Fetch All Invoices
Run the below REST API call in Python to test it. This will fetch all the invoices and is not restricted or filtered.
Make sure to modify the URL to point to your Oracle ERP Instance and provide the correct user name and password.
In practical scenarios you may want to fetch data based on a specific condition. For .e.g, fetch invoices for a given Supplier Name or Supplier Number.