GET
/
consumers
/
{consumer_id}
/
accounting
/
analytic-accounts
/
{analytic_account_id}
Get analytic account
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/analytic-accounts/{analytic_account_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "active": true,
  "code": "<string>",
  "name": "<string>",
  "currency": "<string>",
  "balance": 123,
  "credit": 123,
  "debit": 123
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required
analytic_account_id
string
required

Query Parameters

folder_id
string | null

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

Response

Successful Response

id
string
required

Unique id of the analytic account in the accounting system.

active
boolean
required

Flag indicating whether the analytic account is active.

name
string
required

Name or label of the analytic account as it appears in the accounting system.

code
string | null

Short code for the analytic account. Often used for internal referencing. For some integrations, it may be required to be unique.

currency
string | null

Indicates the currency of the analytic account (e.g., EUR, USD).

balance
number | null
default:0
credit
number | null
default:0
debit
number | null
default:0