Factuarea APIDevelopers

List all goods receipts

List your goods receipts with cursor-based pagination.

  • Filter by status, purchase_order_id, supplier_id, warehouse_id, number and received_on, and sort by reception date or by number.
  • Each receipt comes back with the purchase order it belongs to, its warehouse and its lines.
GET
/companies/{company}/goods-receipts

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid

Query Parameters

limit?integer

Number of objects to return, between 1 and 100 (default 25).

Default25
Range1 <= value <= 100
starting_after?string

Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).

Formatuuid
ending_before?string

Cursor for backward pagination: pass the id of the first object on the current page.

Formatuuid
status?string

Goods receipt status: created, posted (the only one that consumes pending quantity) or cancelled. Exact match on status.

Value in"created" | "posted" | "cancelled"
status[in]?string

Goods receipt status: created, posted (the only one that consumes pending quantity) or cancelled. Comma-separated list. Any of the values matches.

purchase_order_id?string

Purchase order ID (UUID v7) the goods were received against. An order that does not belong to the company in the path yields an EMPTY page, never a rejection. Exact match on purchase_order_id.

Formatuuid
supplier_id?string

Business contact ID (UUID v7) of the supplier. It travels on the purchase order the receipt belongs to: the receipt does not repeat the supplier. Exact match on supplier_id.

Formatuuid
warehouse_id?string

Receiving warehouse ID (UUID v7). A receipt registered with no warehouse never matches this filter. Exact match on warehouse_id.

Formatuuid
number?string

Goods receipt number. It is stamped when the receipt is registered. Exact match on number.

number[in]?string

Goods receipt number. It is stamped when the receipt is registered. Comma-separated list. Any of the values matches.

number[contains]?string

Goods receipt number. It is stamped when the receipt is registered. Partial case-insensitive match (LIKE %term%) on number.

received_on?string

Delivery date (YYYY-MM-DD), chosen by whoever receives the goods and not by the server clock. Exact match on received_on.

Formatdate
received_on[gte]?string

Delivery date (YYYY-MM-DD), chosen by whoever receives the goods and not by the server clock. Greater than or equal to the given value.

Formatdate
received_on[lte]?string

Delivery date (YYYY-MM-DD), chosen by whoever receives the goods and not by the server clock. Less than or equal to the given value.

Formatdate
received_on[gt]?string

Delivery date (YYYY-MM-DD), chosen by whoever receives the goods and not by the server clock. Strictly greater than the given value.

Formatdate
received_on[lt]?string

Delivery date (YYYY-MM-DD), chosen by whoever receives the goods and not by the server clock. Strictly less than the given value.

Formatdate
has_rejections?boolean

true returns only receipts with a rejected quantity on some line; false does not narrow the list. Any other value returns 400. Exact match on has_rejections.

supplier_delivery_note?string

Delivery note number the SUPPLIER printed on the goods, as registered on the receipt; one without it never matches. Exact match on supplier_delivery_note.

supplier_delivery_note[contains]?string

Delivery note number the SUPPLIER printed on the goods, as registered on the receipt; one without it never matches. Partial case-insensitive match (LIKE %term%) on supplier_delivery_note.

purchase_order_reference?string

Reference the supplier uses for the PURCHASE ORDER of the receipt (supplier_order_reference of the order). Exact match on purchase_order_reference.

purchase_order_reference[contains]?string

Reference the supplier uses for the PURCHASE ORDER of the receipt (supplier_order_reference of the order). Partial case-insensitive match (LIKE %term%) on purchase_order_reference.

sort?string

Sort order: received_on, number ascending, or with a - prefix for descending (default -created).

Value in"received_on" | "-received_on" | "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

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json