List all purchase invoices
List purchase invoices received from suppliers with cursor-based pagination.
In: header
Query Parameters
Number of objects to return. Integer between 1 and 100. Defaults to 25.
251 <= value <= 100Cursor for forward pagination. Use the uuid of the last object on the previous page.
uuidCursor for backward pagination. Use the uuid of the first object on the current page.
uuidPurchase invoice status. Exact match on status.
Purchase invoice status. Comma-separated list. Any of the values matches.
Supplier ID (UUID v7). Exact match on supplier_id.
uuidSupplier ID (UUID v7). Comma-separated list. Any of the values matches.
Creation date (ISO 8601). Greater than or equal to the given value.
date-timeCreation date (ISO 8601). Less than or equal to the given value.
date-timeCreation date (ISO 8601). Strictly greater than the given value.
date-timeCreation date (ISO 8601). Strictly less than the given value.
date-timeIssue date. Greater than or equal to the given value.
dateIssue date. Less than or equal to the given value.
dateIssue date. Strictly greater than the given value.
dateIssue date. Strictly less than the given value.
dateTotal amount. Greater than or equal to the given value.
Total amount. Less than or equal to the given value.
Total amount. Strictly greater than the given value.
Total amount. Strictly less than the given value.
ISO 4217 currency code. Exact match on currency.
ISO 4217 currency code. Comma-separated list. Any of the values matches.
Invoice number issued by the supplier. Exact match on external_invoice_number.
Invoice number issued by the supplier. Partial case-insensitive match (LIKE %term%) on external_invoice_number.
Filter by classification tag (lowercase slug). Supports multiple values with tags[in]=a,b (JSON_CONTAINS, OR semantics — matches purchase invoices carrying ANY of the tags). Exact match on tags.
Filter by classification tag (lowercase slug). Supports multiple values with tags[in]=a,b (JSON_CONTAINS, OR semantics — matches purchase invoices carrying ANY of the tags). Comma-separated list. Any of the values matches.
Sort order. Use a field for ascending or a - prefix for descending (e.g. -created). Allowed fields: created, total, issued_on, due_on. 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).
"created" | "-created" | "total" | "-total" | "issued_on" | "-issued_on" | "due_on" | "-due_on"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.
length <= 80Filter 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
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.
dateOperate 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.
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json