Skip to main content

Get Inventory Revaluation

GET 

/api/cogs-revaluation/:revaluation

Get one inventory revaluation with its full context: the cost movement, the revalued FIFO layer, the document that layer came from, the product and warehouse, and the accounting ledger entries the revaluation posted.

Required scope: inventory:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token (PAT).

Path parameter: {revaluation} — the revaluation ID (numeric).

Layer vs source: fifo_layer_reference / fifo_layer_route identify the FIFO layer itself; origin is the document that created it (purchase order, inbound receipt, assembly, stock take …).

Accounting: ledger.entries[] lists every live journal entry this revaluation posted — one per accounting month it is recognised in — each with its own status, totals, monthly batch and provider-sync state. ledger.sync_status aggregates those worst-first. An empty list means the revaluation moved no accounting balance.

Returns 404 when no revaluation has that ID.

Request

Responses

OK

Response Headers
    Content-Type