Get details of chart of account
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET
/api-v1/chart-accounts/{id}
curl \
-X GET http://wyzio.app/api-v1/chart-accounts/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"accountNumber": "string",
"businessUnitId": 42,
"currencyId": 42,
"endDate": "string",
"id": 42,
"immobilizationChartOfAccountId": 42,
"immobilizationType": "LINEAR_DEPRECIATION_DIRECT",
"isActive": true,
"isBusinessUnitSplitEnabled": true,
"isCashAccountEnabled": true,
"isExpenseReportEnabled": true,
"isFXAutoAdjustmentEnabled": true,
"isPaymentMethodEnabled": true,
"isPurchaseInvoicesEnabled": true,
"isSalesInvoicesEnabled": true,
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"organizationId": 42,
"startDate": "string",
"type": "BALANCE_SHEET",
"warnings": "string"
}