Inventory Daily Divergence Series
GET/api/ledger/reconciliation/inventory/daily
The materialized daily reconciliation series, one entry per earmarked account (or per nominal_code_ids[] when given): SKU's point-in-time inventory value vs the provider GL balance for each end-of-day, and the stored divergence — the "which days diverge" view. Reads materialized rows only (no live provider or valuation call); the SKU side is built by the rebuild job and the provider side by capture-provider.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Each day's SKU value uses the same valuation cutoff as the inventory valuation report, so a day ties to running that report for that end-of-day.
Authentication: Requires Bearer token.
Series fields: nominal_code_id, code, name, provider_account_name, days_total, days_divergent, days_matched, days_provider_missing, latest_sku_value, latest_provider_balance, latest_divergence, latest_as_of_date, points[].
Point fields: as_of_date, sku_value, sku_quantity, provider_balance (null on days not yet captured), divergence (null when either side missing), status (divergent | matched | provider_missing | sku_missing).
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.