Skip to main content
Version: v1.0.0(int)

E103: Get ledger entry detail

GET /api/materials-inventory/ledger/:id

Returns a single ledger entry by id. Triggered by clicking a row in the Materials Inventory Ledger page.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member. Also reachable with an org-scoped PAT.

Request

No body. :id is the ledger entry's UUID.

Response — 200 OK

{
"id": "uuid",
"orgId": "uuid",
"code": "MIL-001",
"materialId": "uuid",
"locationId": "uuid",
"eventType": "TRANSFER",
"quantity": "100",
"unitCost": null,
"ref": "TFR-MI-042",
"toLocationId": "uuid",
"notes": "...",
"eventDate": "2026-06-10T00:00:00Z",
"sourceType": null,
"sourceId": null,
"createdAt": "2026-06-10T00:00:00Z"
}

Errors

HTTPcodeCondition
404not_foundNo such ledger entry.

Workflow

Calls W103 Get ledger entry detail.