Get all carrier invoices
GET/truckers/invoices/
Retrieves a paginated list of all invoices associated with the authenticated carrier. The carrier is automatically identified via the provided JWT.
Features:
- Automatic pagination with customizable parameters
- Sorting by name and creation date
- Filtering by invoice statuses (draft, issued, paid, cancelled)
Usage Example:
- Get the first page with 10 invoices: GET /truckers/invoices?page=1&limit=10
- Get all invoices (without pagination): GET /truckers/invoices?page=-1&limit=-1
Request
Responses
- 200
- 401
- 404
Invoice List
Unauthorized
Not found