Factuarea APIDevelopers

List all invoices

List your sales invoices with cursor-based pagination.

Supports filtering by status[in], client_id, series_id, issued_on[gte|lte], and total[gte|lte].

GET
/invoices
AuthorizationBearer <token>

In: header

Query Parameters

original_invoice_id?|
Formatuuid
verifactu_status?|
Value in"no_verifactu" | "pending" | "accepted" | "rejected" | null
limit?integer

Number of objects to return. Integer between 1 and 100. Defaults to 25.

Default25
Range1 <= value <= 100
starting_after?string

Cursor for forward pagination. Use the uuid of the last object on the previous page.

Formatuuid
ending_before?string

Cursor for backward pagination. Use the uuid of the first object on the current page.

Formatuuid
status?string

Invoice status. Exact match on status.

status[in]?string

Invoice status. Comma-separated list. Any of the values matches.

client_id?string

Client ID (UUID v7). Exact match on client_id.

Formatuuid
client_id[in]?string

Client ID (UUID v7). Comma-separated list. Any of the values matches.

series_id?string

Series ID (UUID v7). Exact match on series_id.

Formatuuid
series_id[in]?string

Series ID (UUID v7). Comma-separated list. Any of the values matches.

created[gte]?string

Creation date (ISO 8601). Greater than or equal to the given value.

Formatdate-time
created[lte]?string

Creation date (ISO 8601). Less than or equal to the given value.

Formatdate-time
created[gt]?string

Creation date (ISO 8601). Strictly greater than the given value.

Formatdate-time
created[lt]?string

Creation date (ISO 8601). Strictly less than the given value.

Formatdate-time
due_on[gte]?string

Due date. Greater than or equal to the given value.

Formatdate
due_on[lte]?string

Due date. Less than or equal to the given value.

Formatdate
due_on[gt]?string

Due date. Strictly greater than the given value.

Formatdate
due_on[lt]?string

Due date. Strictly less than the given value.

Formatdate
total[gte]?number

Total amount. Greater than or equal to the given value.

total[lte]?number

Total amount. Less than or equal to the given value.

total[gt]?number

Total amount. Strictly greater than the given value.

total[lt]?number

Total amount. Strictly less than the given value.

currency?string

ISO 4217 currency code (e.g. EUR). Exact match on currency.

currency[in]?string

ISO 4217 currency code (e.g. EUR). Comma-separated list. Any of the values matches.

number?string

Invoice number. Exact match on number.

tags?string

Filter by classification tag (lowercase slug). Supports multiple values with tags[in]=a,b (JSON_CONTAINS, OR semantics — matches invoices carrying ANY of the tags). Exact match on tags.

tags[in]?string

Filter by classification tag (lowercase slug). Supports multiple values with tags[in]=a,b (JSON_CONTAINS, OR semantics — matches invoices carrying ANY of the tags). Comma-separated list. Any of the values matches.

sort?string

Sort order. Use a field for ascending or a - prefix for descending (e.g. -created). Allowed fields: created, total, number. Combined with the cursor, ordering stays deterministic (a stable secondary sort by the cursor id, Stripe-style). When omitted, results follow the default cursor order (created descending).

Value in"created" | "-created" | "total" | "-total" | "number" | "-number"
search?string

Free-text search. Escaped LIKE %term% (case-insensitive, max 80 chars) across the resource's key text columns, combined with the other filters (AND) and compatible with the cursor.

Lengthlength <= 80
metadata?

Filter by metadata key/value pairs using the deepObject syntax metadata[key]=value. Multiple pairs are combined with AND. Each key must match [A-Za-z0-9_.-]{1,64}; a maximum of 50 pairs is allowed (more → 422).

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate
X-Active-Profile?string

Operate on behalf of a child company (gestoría master key): pass its public id (UUID v7) and the request runs against that child's data without changing the key's scope, tier or environment (omit to use the key's own company). Invalid UUID → 400 parameter_invalid_uuid; unknown or non-owned id → 404 profile_not_found. See the Acting on behalf guide.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json