All Invoices
Returns all invoices. This endpoint allows you to return all invoices.
GET /api/v1/client/invoices
Query param
authorization : *bearer
REQUEST BODY SCHEMA: application/json
Name | Description | Required | Type |
---|---|---|---|
limit | Number of items to return per page. Example: limt=50 Default: 100 | Not Required | number |
page | Page number. Example: page=1 Default: 1 | Not Required | number |
policy | Filter invoices by policy's id. Example: policy=622afd13c94e5c2edfaa4674 | Not Required | string |
Responses
Code | Description |
---|---|
200 | List of all invoices of the company |
409 | Unauthorized |
Response Sample
Content type
application/json
[
{
"statusCode": 200,
"success": true,
"data": [
+ { ... }
],
"paginator": {
"itemsCount": 0,
"offset": 0,
"limit": 0,
"pageCount": 0,
"page": 0,
"pagingCounter": 0,
"hasPrevPage": true,
"hasNextPage": true,
"prevPage": 0,
"nextPage": 0
}
}
...
]