Bulk update accounts

Allowed Scopes: experimental:chart-of-accounts:write

Bulk syncs (creates or upserts) accounts for the selected account type. Each item replaces the stored account: an omitted description, code, creditCode, auxiliaryCode, externalId, purpose, taxRate or currency is cleared to null (an omitted externalId removes the ERP link). An item that carries the id of an archived account un-archives it unless it sets isArchived to true. An item without id that has a code and does not set isArchived to true updates the non-archived account of the same type with the same code, purpose, auxiliaryCode and taxRate (for reverseCharge: the same name, code and creditCode), if there is one. Items without id never match an archived account. For partial updates to existing accounts, use PATCH /v1/experimental/accounts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
required
Allowed:
Body Params
accounts
array of objects
required
length between 1 and 500
accounts*
uuid
string
required
string | null
string | null

Required unless externalId is set.

string | null
string | null
string | null

Required unless code is set.

string | null
enum
Allowed:
number | null
string | null
boolean
deprecated

Ignored: new accounts are always available, and writes never change availability.

boolean
Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

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