Overview / Stock & supply / List goods receipts

List goods receipts

get https://api.flactrum.com/v1/goods-receipts
Required scope goods_receipts.read
Panel screenStock & supply → Goods receipts
Success status200
Returns A paginated list of GoodsReceipt objects

Parameters

NameInTypeDescription
branch_id query string —
warehouse_id query string —
supplier_id query string —
posted query boolean Whether the receipt has been written into stock.
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
updated_since query string Only records changed at or after this instant. Use it for incremental sync.
sort query string Column to sort by. Each endpoint lists what it accepts.
direction query string Sort direction.

Response fields

FieldTypeDescription
id string —
source_type string —
supplier_id string|null —
branch_id string|null —
warehouse_id string|null —
received_at string|null —
posted_at string|null —
is_posted boolean Stock only changes once the receipt is posted.
items array —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/goods-receipts' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzm8xynncss7r71wvr4q7",
            "source_type": "supplier",
            "supplier_id": "01m43mzm8ksw8k7mg9qpj27wbh",
            "branch_id": "01m43mzm81852pekwsy3v35k14",
            "warehouse_id": null,
            "note": null,
            "received_at": "2026-10-04T14:27:13+00:00",
            "posted_at": null,
            "is_posted": false,
            "item_count": 1,
            "items": [
                {
                    "id": "01m43mzm8zw0aq6wmpe6kr65t3",
                    "stock_item_id": "01m43mzm8aff2wxd8b1q3qy0jy",
                    "expected_quantity": null,
                    "received_quantity": 25000,
                    "unit_cost": 0.05,
                    "total_cost": null,
                    "purchase_unit_id": null,
                    "entry_quantity": null,
                    "note": null,
                    "expires_at": null
                }
            ],
            "created_at": "2026-10-04T14:27:13+00:00",
            "updated_at": "2026-10-04T14:27:13+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}