Skip to main content

Get Inventory Reconciliation Period

GET 

/api/ledger/reconciliation/inventory/period

The "reconcile ongoing" discovery for one earmarked inventory control account and month. The header is authoritative and always reconciles: during the month the provider balance moved provider_moved, SKU inventory moved sku_moved, and the divergence went divergence_open -> divergence_close (a gap of provider_moved - sku_moved). The rows break the month's inventory postings down by transaction-type concept, framed by sync status: how much SKU inventory value moved for each concept (context) and where its postings sit in the sync pipeline (gl_synced reached the provider, gl_awaiting is a batch still closing or a manually-syncable opt-out, gl_excluded is structurally held back). Each row also carries syncable_count — how many of its entries can be pushed to the provider right now (the same eligibility the bulk sync_now action enforces), which is always < the awaiting count because an entry waiting on its batch to close cannot be pushed on its own. sync_status is the row's headline disposition and normally follows the amounts, but when they all net to zero while entry_count > 0 (e.g. a warehouse transfer whose out and in legs cancel on this one account) it follows the entries' own dispositions instead — so a row that still owes the provider a sync never reads as none ("no postings"), and none is reserved for a concept with no SKU postings at all. Postings are keyed by their batch period (a monthly batch's consolidated entry is dated at a period boundary), the opening reconciliation adjustment is excluded, and the totals reconcile the ledger side. Authenticate with a Personal Access Token. Reads cached data only (no live provider call).

Request

Responses

OK

Response Headers
    Content-Type