Skip to content

Get accounts for a client.

Request

Path
clientIdstring, (uuid)required
Query
includeDisabledAccountsboolean

Indicate if the response should include accounts that is not active in the erp system.

Default:true
curl -i -X GET \
  'https://developer.aritma.com/_mock/apis/accounting/erp-hub/openapi/erphub-openapi/api/v1/clients/{clientId}/accounts'

Responses

Returns an array of account dto.

Bodyapplication/json
Array [
accountIdstringrequired

Account ID

accountNumberstringrequired

Account number

currencystring or null

Currency

clientIdstringrequired

Client ID

descriptionstring or null

Description

bankAccountNumberstring or null

Bank account number

isSyncTransactionEnabledboolean

Is enabled for transaction sync

isActiveInErpboolean

Indicates if the account is active in the ERP system

]
Response
[ { "accountId": "string", "accountNumber": "string", "currency": "string", "clientId": "string", "description": "string", "bankAccountNumber": "string", "isSyncTransactionEnabled": true, "isActiveInErp": true } ]