Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Manual Journals aren't returning any journal lines

Started by Drew Vance -   in API Endpoints

When calling the xero api for manual journals, with a filter, the response contains a "JournalLines" key with an empty array for every result in the response. However if I grab a specific id from the response and get that specific manual journal, the response does contain items in the "JournalLines" field. How can I get "JournalLines" out of the manual journal line api in bulk form? It would be too slow to individually request each record.
Hi Drew,

Try using paging e.g. https://api.xero.com/api.xro/2.0/manualjournals?page=1

Welli Abdullah (Xero Staff)