Skip to main content

Get Tie-Out Period

GET 

/api/ledger/tie-out/periods/:period

The tie-out for one month. The order cohort (orders placed in the month) is followed downstream: stages lists Ordered, Invoiced, Shipped, Paid, Posted to the ledger and one stage per accounting connection (synced:{connection_id}), each with an amount in base currency and a document count. pairs compares adjacent stages: state is ties, within_tolerance, timing (only expected, explained differences) or gap (open exceptions), with the difference, counts and a one-line summary. lanes.payouts covers marketplace payouts deposited in the month per channel (gross, refunds, fees, other, net) and lanes.cogs compares inventory movement cost, ledger COGS and each connection. locks says what the month's close state allows: a closing or closed month is read-only; a month whose postings are locked refuses fixes that would post into it. run is the latest completed run; active_run is a run in progress.

Required scope: accounting:read

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

Authentication: Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type