AP Invoice AI Agent Fetch Limitation and Inconsistent API Results
Summary:
I have developed an AP Invoice AI Agent using the HTTP GET REST API business object. While the agent is generally functioning, I am facing a couple of issues:
- When I request all invoices for a specific day, the agent indicates that records are available but is unable to fetch them completely. It returns only 25 records and suggests that this is the total, even though there are actually many more invoices in the system.
- I’ve also noticed inconsistent results when using different query parameters:
- The endpoint
/fscmRestApi/resources/11.13.18.05/invoices?orderBy=InvoiceDate:descreturns the latest invoices. - However,
/fscmRestApi/resources/11.13.18.05/invoices?orderBy=InvoiceDate:asc
- The endpoint
0