curl "https://api.alguna.io/invoices?page=1&limit=25" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "ZVzWRFnt",
"accountId": "aBsZxlLh",
"currency": "USD",
"description": "Platform subscription",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "200.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:36:52.78883Z",
"updatedAt": "2024-01-26T19:30:37.734294Z"
},
{
"id": "jqsKFrxO",
"accountId": "JXvYcskd",
"currency": "USD",
"description": "Monthly seats",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "500.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:25:48.027798Z",
"updatedAt": "2024-01-26T19:30:38.083477Z"
}]
}
Retrieve a paginated list of invoices with optional filtering and sorting
curl "https://api.alguna.io/invoices?page=1&limit=25" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "ZVzWRFnt",
"accountId": "aBsZxlLh",
"currency": "USD",
"description": "Platform subscription",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "200.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:36:52.78883Z",
"updatedAt": "2024-01-26T19:30:37.734294Z"
},
{
"id": "jqsKFrxO",
"accountId": "JXvYcskd",
"currency": "USD",
"description": "Monthly seats",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "500.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:25:48.027798Z",
"updatedAt": "2024-01-26T19:30:38.083477Z"
}]
}
5, 10, 25, 50, or 100. Values exceeding 100 are capped automatically.Show Filter Object
| Field | Operators | Description |
|---|---|---|
status | eq, in | Invoice status (e.g. draft, upcoming, issued, paid, void) |
account_id | eq | The account ID associated with the invoice |
subscription_id | eq | The subscription ID associated with the invoice |
autopay | eq | Whether the invoice is set to auto-pay (true or false) |
invoicing_date | eq, gte, lte | The invoicing date (ISO 8601 format) |
issue_date | eq, gte, lte | The issue date (ISO 8601 format) |
due_date | eq, gte, lte | The due date (ISO 8601 format) |
paid_date | eq, gte, lte | The paid date (ISO 8601 format) |
tag_ids | in | Tag IDs associated with the invoice |
| Operator | Description |
|---|---|
eq | Exact match |
in | Matches any value in a comma-separated list |
gte | Greater than or equal to (date fields) |
lte | Less than or equal to (date fields) |
in operator, use comma-separated values. For date operators, use ISO 8601 format.field:order format. Order is either asc (ascending) or desc (descending).Sortable fields: invoicing_date, issue_date, due_date, paid_date, account_name, status.curl "https://api.alguna.io/invoices?page=1&limit=25" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "ZVzWRFnt",
"accountId": "aBsZxlLh",
"currency": "USD",
"description": "Platform subscription",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "200.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:36:52.78883Z",
"updatedAt": "2024-01-26T19:30:37.734294Z"
},
{
"id": "jqsKFrxO",
"accountId": "JXvYcskd",
"currency": "USD",
"description": "Monthly seats",
"billingPeriodStart": "2024-02-01T00:00:00Z",
"billingPeriodEnd": "2024-02-29T23:59:59Z",
"status": "upcoming",
"total": "500.00",
"billingPeriod": "Feb 01, 24 - Feb 29, 24",
"createdAt": "2024-01-24T16:25:48.027798Z",
"updatedAt": "2024-01-26T19:30:38.083477Z"
}]
}
Show Invoice Object