Chart of Accounts

List the chart of accounts

Returns the profile's chart of accounts (Swiss Kontenplan KMU) with account UUIDs, codes, names and types. Account UUIDs are required for bank transaction adjustments, categorization, expense lines, and expense payments.

get/chart-accounts

Request

  • Base URL: https://api.lumabill.ch/v1
  • URL: https://api.lumabill.ch/v1/chart-accounts
  • Auth: HTTP bearer

Query parameters

includeBalancesboolean

Include the current balance per account

fiscalYearIdstring uuid

Restrict balances to a fiscal year (with includeBalances=true)

Response

List of chart accounts

idstring uuid required
codestring required

Swiss chart of accounts (Kontenplan KMU) account number

namestring required
type'ASSET' | 'LIABILITY' | 'EQUITY' | 'REVENUE' | 'EXPENSE' required
parentCodestring nullable
isSystemboolean
isActiveboolean
currency'CHF' | 'EUR' | 'USD' | 'GBP' | 'JPY' | 'CAD' | 'AUD' | 'SEK' | 'NOK' | 'DKK' | 'HUF'

ISO 4217 code of a currency the API converts (ESTV/BAZG rates). The same list applies to every currency field of the API.

createdAtstring date-time
balancenumber double nullable

Only present when includeBalances=true (CHF)

fwBalancenumber double nullable

FW accounts with includeBalances=true only: the saldo in the account currency, over the requested fiscalYearId, else as of today over the fiscal year covering today (null when no year covers today).

carryForwardMissingboolean

FW accounts with includeBalances=true only: true when the previous fiscal year is still open, so the year holds no Saldovortrag and balance / fwBalance show only this year's movements.

Example response

[
  {
    "code": "6940",
    "name": "Bankspesen",
    "currency": "CHF"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.