POST
/
accounting
/
accounts

The Accounts Data Model is designed to streamline the management and retrieval of account-related information across various accounting platforms.

Additional Required Fields

To successfully create an account, certain fields must be included in the raw_data object of the request body. The required fields are as follows:

IntegrationFieldDescription
MS_DYNAMICS_365_FOChartOfAccountsThe chart of accounts to which the account belongs.
MYOB_BUSINESStax_idThe tax ID associated to the account.
SAGE_ZA_CLOUD_ACCOUNTINGsub_category_idThe sub-category ID associated to the account.

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
integer
required

The ID of the company in the accounting platform

run_async
boolean | null

Run the request asynchronously

data
object[]
required

The data of the accounts endpoint

Response

200 - application/json
data
object

The data of the accounts endpoint

sync_id
string | null

The sync id of the request