Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Finding all bills for a given purchase order

Started by Alan Whitby -   in API Endpoints

I'm trying to find all Bills that link to a given purchase order, but can't find any information in the documentation nor in inspecting the response when fetching the bill that i already know is linked to the PO in question.

Is there a way to use the 'getInvoices' API query with a filter to just a specific PO's ID?
There is no direct link between the purchase orders and bills. If you use the PO number as a base for the invoice number for the bills, you could then search on this.
 

API Team (Not monitored)