Skip to main content

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.

Authorization

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

OK

Response Headers
    Content-Type