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 items -
hydra:totalItems
- total filtered items -
hydra:view
-
hydra:first
- URL to the first page -
hydra:last
- URL to the last page -
hydra: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.