Skip to main content

Get Deferred Transactions Summary

GET 

/api/amazon/unified/deferred-adjustments/summary

What Amazon holds now and, for each of the last N months (current month first), per Amazon account and currency: deferred and released in the month (same_month), deferred and still held at the month end (held_at_end, with counts and a split by deferral reason), and earlier deferrals released in the month (released_from_earlier).

Required scope: accounting:read

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

status is posted (the month-end adjustment is built and the month has ended), draft (the month is still running, or the nightly build has not run yet; nothing is posted until the month ends), stale_source (built while transactions were not synced through 3 days past the month end, or with no exchange rate), held_mapping_pending (the account's settlements are held until order revenue is mapped), locked (the period is locked), off (the adjustment is switched off or the month is before its start month; figures are computed from the transactions and nothing is posted) or voided.

balance / balance_base are what the month-end journal books to the Deferred Balances account (transaction / home currency); now amounts are in the home currency. now.held_before_start / held_before_start_count are the part of held posted before each account's start month: what Amazon still holds that the Deferred Balances account never received (no opening balance is posted), so the account balance plus this amount is Amazon's total held. Display only; 0 for an account with the adjustment off.

Query parameters (optional):

  • integration_instance_ids — comma-separated Amazon integration IDs
  • months — 1–24 (default 12)

Authentication: Requires Bearer token (accounting scope).

Requires the accounting.index permission.

Each month row carries auto_released: the transactions without an order id released automatically 30 days after maturity in that month ({count, amount, items: [{amazon_transaction_id, bucket, transaction_type, maturity_at, booked_on, amount}]}), or null.

release_fx (on a stored foreign-currency month, else null): the exchange difference on transactions an earlier month accrued at their posted day's rate and a settlement paid out this month at its own rate, reclassed to the FX Realized Gain/Loss account on the settlement's document day — count transactions, total in the home currency (positive = gain), fx_nominal_code_id (null = FX Realized Gain/Loss is not mapped, so nothing posts), unrated_settlements (settlements with no exchange rate yet), fx_account ({id, code, name} of the FX Realized Gain/Loss account, or null when unmapped) and entries: the month's release FX journals, one per settlement document day ({id, booked_on, status, total, account, route}: total is what that journal as posted moved to FX, in the home currency, positive = gain, and account the FX account it posted to; until a rebuild is processed by the ledger the entries' totals can differ from the month's total).

Request​

Responses​

OK

Response Headers
    Content-Type