Searching for documents
When asking for a list of invoices you will receive 30 documents per page. You can switch page via the query parameter page.
To get information about the pagination you can send the HTTP header application/ld+json. You will receive an enriched payload containing the keys:
hydra:member- the array with the retrieved itemshydra:totalItems- total filtered itemshydra:viewhydra:first- URL to the first pagehydra:last- URL to the last pagehydra:next- URL to the next page
hydra:search- object containing information about the filters
See Hydra specifications for more information.
See the documentation to retrieve the collection for a reference on the filters you can apply.