Commit ledger opening balances

Commits the previewed balances with the same confirmation_token, actor and Idempotency-Key. The input migration_date is the journal posting date. The returned status migration_date is the following day, the first day of live bookkeeping; journals retain the input date, which the status returns as opening_balance_date: send opening_balance_date back as migration_date. An account an opening balance cannot use answers 422 opening_balance_account_not_usable, naming each row. Preview does not require user confirmation; committing does. Requires the opening-balances:action OAuth scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Confirmed values used to commit ledger opening balances, including the confirmation token returned by ledgerOpeningBalance.preview.

date | null
string
required
length ≤ 8192
balances
array of objects
required
length ≤ 100
balances*
Headers
string
required
length ≤ 191

Required unique key whose request hash and terminal response are stored durably for 24 hours.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*