Hi folks,
Is it possible to retrieve all open and overdue invoices and bills by the date they are due?
https://dev.freeagent.com/docs/bills
https://dev.freeagent.com/docs/invoices
Thanks,
Rikki
Hi folks,
Is it possible to retrieve all open and overdue invoices and bills by the date they are due?
https://dev.freeagent.com/docs/bills
https://dev.freeagent.com/docs/invoices
Thanks,
Rikki
Hi Rikki,
I’m afraid it’s not possible to filter the results by a particular date, though you can pass through a a sort
parameter, with an option of created_at
or updated_at
. This will sort the results by their creation, or last update timestamp, depending on which option you pass through. You can also reverse the ordering by adding a -
before the option, for example -created_at
.
Hopefully knowing how to sort the results will help keep things streamlined for you.
Kind regards,
Dave J
Thanks @David_Jones.
That’s a shame, so it sounds like I’ll have to pull down all the invoices and then filter by date application side.
Best,
Rikki