List all purchase orders
List your purchase orders with cursor-based pagination.
- Filter by
status,supplier_id,warehouse_id,number,supplier_order_reference,order_dateandexpected_date, search free text over the textual fields of the order, and sort by creation, number or expected date. - Each order comes back with its lines and, per line, the quantity ordered, the quantity received in posted goods receipts and the pending quantity derived from them, so a listing already answers what is still to arrive.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidQuery Parameters
Number of objects to return, between 1 and 100 (default 25).
251 <= value <= 100Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).
uuidCursor for backward pagination: pass the id of the first object on the current page.
uuidPurchase order status: draft, sent, confirmed, partially_received, received, billed or cancelled. Exact match on status.
"draft" | "sent" | "confirmed" | "partially_received" | "received" | "billed" | "cancelled"Purchase order status: draft, sent, confirmed, partially_received, received, billed or cancelled. Comma-separated list. Any of the values matches.
Business contact ID (UUID v7) of the supplier. A contact of another company yields an empty page, never a rejection. Exact match on supplier_id.
uuidWarehouse ID (UUID v7). Matches the order header OR any of its lines, like the application list. A warehouse of another company yields an empty page, not a rejection. Exact match on warehouse_id.
uuidPurchase order number. It is stamped when the order is created, so a draft already carries one. Exact match on number.
Purchase order number. It is stamped when the order is created, so a draft already carries one. Comma-separated list. Any of the values matches.
Purchase order number. It is stamped when the order is created, so a draft already carries one. Partial case-insensitive match (LIKE %term%) on number.
Reference the supplier uses for this order in its own system, unique per company. Exact match only: use search for partial matching. Exact match on supplier_order_reference.
Reference the supplier uses for this order in its own system, unique per company. Exact match only: use search for partial matching. Comma-separated list. Any of the values matches.
Order date (YYYY-MM-DD). Exact match on order_date.
dateOrder date (YYYY-MM-DD). Greater than or equal to the given value.
dateOrder date (YYYY-MM-DD). Less than or equal to the given value.
dateOrder date (YYYY-MM-DD). Strictly greater than the given value.
dateOrder date (YYYY-MM-DD). Strictly less than the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Exact match on expected_date.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Greater than or equal to the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Less than or equal to the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Strictly greater than the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Strictly less than the given value.
datePending portfolio: receive (open order with lines to receive) or bill (received goods not matched with an invoice yet, or an invoice in deviation or rejected). Exact match on pending.
"receive" | "bill"Expected delivery: late (past its expected date beyond the grace days), week (expected between today and today + 7) or none (open order with no expected date). Exact match on delivery.
"late" | "week" | "none"Live supplier invoices: none (goods received, none linked), pending (one not evaluated), deviation (one deviated or rejected) or matched (matched, none deviated). Exact match on invoice.
"none" | "pending" | "deviation" | "matched"Sort order: created, number, expected_date, order_date, total, supplier_name, status ascending, or with a - prefix for descending (default -created).
"created" | "-created" | "number" | "-number" | "expected_date" | "-expected_date" | "order_date" | "-order_date" | "total" | "-total" | "supplier_name" | "-supplier_name" | "status" | "-status"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 <= 80Headers
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.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json