List invoices
Retrieve a paginated list of invoices with optional filters for status, date range, and search.
Request
- Base URL: https://api.frihet.io
- URL: https://api.frihet.io/v1/invoices
- Auth: API key in header X-API-Key
Query parameters
Number of items to return (default 50, max 100)
Number of items to skip for pagination (max 10000)
Cursor for cursor-based pagination. Use the nextCursor value from a previous response to fetch the next page. When provided, offset is ignored. The cursor is a base64url-encoded JSON string.
Filter by invoice status
Start date filter in ISO format (YYYY-MM-DD)
End date filter in ISO format (YYYY-MM-DD)
Full-text search query. Searches across relevant fields per resource type (e.g., clientName, documentNumber for invoices; name, email for clients). Case-insensitive.
Comma-separated list of fields to include in the response. The id field is always included. Example: fields=id,name,total
Filter invoices or quotes by client ID
Filter invoices or quotes by invoice series ID
Response
A paginated list of invoices
Example response
{
"data": [
{
"id": "abc123def456",
"clientId": "client_abc123",
"clientName": "Acme Corp",
"clientTaxId": "B12345678",
"clientAddress": "Calle Mayor 12, 38001 Santa Cruz de Tenerife",
"clientLocation": "canarias",
"documentNumber": "FAC-2026-0042",
"items": [
{
"description": "Web development services",
"quantity": 10,
"unitPrice": 85
}
],
"issueDate": "2026-03-09",
"dueDate": "2026-04-09",
"notes": "Payment due within 30 days",
"taxRate": 21,
"irpfRate": 15,
"discountRate": 10,
"recurring": {
"enabled": true,
"frequency": "monthly",
"nextDate": "2026-04-01",
"endDate": "2027-03-31",
"maxOccurrences": 12
},
"subtotal": 850,
"tax": 178.5,
"total": 1028.5,
"currency": "EUR"
}
],
"nextCursor": "eyJpc3N1ZURhdGUiOiIyMDI2LTAzLTIwIiwiX19pZCI6ImFiYzEyMyJ9",
"truncated": true
}Changes
No recorded changes to this operation across all 1 revision of this API.