Retrieve a paginated list of all invoices with optional filtering.
Request
GET https://tupel.com/api/invoices/
Authentication
This endpoint requires basic authentication with your Organization ID and API Key.
Query Parameters
-
created_from timestamp Optional
Filter invoices created on or after this timestamp. Format: ISO 8601 (e.g.,2023-01-01T00:00:00Z). -
created_to timestamp Optional
Filter invoices created on or before this timestamp. Format: ISO 8601 (e.g.,2023-12-31T23:59:59Z). -
updated_from timestamp Optional
Filter invoices updated on or after this timestamp. Format: ISO 8601 (e.g.,2023-01-01T00:00:00Z). -
updated_to timestamp Optional
Filter invoices updated on or before this timestamp. Format: ISO 8601 (e.g.,2023-12-31T23:59:59Z). -
entity string Optional
Filter invoices by entity UID. Only returns invoices associated with the specified entity. -
status string Optional
Filter invoices by status. Possible values:ISSUED,PAID,OVERDUE. -
currency string Optional
Filter invoices by currency. Possible values:USD,EUR,GBP, or other accepted currency codes. -
order_by string Optional
Field to sort the results by. Prefix with-for descending order (e.g.,-created_at). -
page integer Optional
Page number for pagination. Default:1. -
page_size integer Optional
Number of items per page. Default:10. Maximum:100.
Notes
- By default, all invoices are returned, sorted by creation date (newest first).
- Use the filtering parameters to narrow down results for better performance with large datasets.
- For date range filters, both the start and end parameters are inclusive.
- This endpoint uses page-based pagination with 10 items per page by default.
- For more information about working with paginated results, see the pagination documentation.
- Common use cases include:
- Retrieving all overdue invoices for follow-up
- Monitoring recently issued invoices
- Generating reports filtered by date ranges and status
- Tracking invoices for a specific entity