Skip to content

Accounts

Accounts define the chart of accounts used for financial reporting and integration with accounting systems. Accounts map sales and payment transactions to ledger account numbers.

Storage Location

{customer_id}-account.json

Fields

FieldTypeRequiredDescription
idstringYesUnique account identifier.
customer_idintegerYesReference to Customer.
numintegerYesAccount number in chart of accounts.
descriptionstringYesAccount description.
external_referencesarrayNoExternal system mappings for ERP integration.

External References Structure

The external_references array contains mappings to external accounting systems:

json
[
  {"key": "posting_template_number", "value": "string"},
  {"key": "product_number", "value": "string"},
  {"key": "periodisation_debit_number", "value": "string"},
  {"key": "periodisation_credit_number", "value": "string"}
]

Account Number Ranges

Typical Norwegian chart of accounts structure:

RangeCategoryDescription
1500-1999AssetsReceivables, prepayments
2900-2999LiabilitiesGift cards, deposits
3000-3999RevenueSales by tax category

Example

json
{
  "id": "35071",
  "customer_id": 10352,
  "num": 3009,
  "description": "Salg mat 15%",
  "external_references": []
}

Example - Multiple Accounts

json
[
  {
    "id": "35063",
    "customer_id": 10352,
    "num": 1500,
    "description": "Faktura",
    "external_references": []
  },
  {
    "id": "35067",
    "customer_id": 10352,
    "num": 1901,
    "description": "Kontant",
    "external_references": []
  },
  {
    "id": "35064",
    "customer_id": 10352,
    "num": 1921,
    "description": "Kreditkort",
    "external_references": []
  },
  {
    "id": "35068",
    "customer_id": 10352,
    "num": 1923,
    "description": "Bankkort",
    "external_references": []
  },
  {
    "id": "35066",
    "customer_id": 10352,
    "num": 1953,
    "description": "Vipps",
    "external_references": []
  },
  {
    "id": "35069",
    "customer_id": 10352,
    "num": 2900,
    "description": "Gavekort",
    "external_references": []
  },
  {
    "id": "35117",
    "customer_id": 10352,
    "num": 3000,
    "description": "Salg 25%",
    "external_references": []
  },
  {
    "id": "35071",
    "customer_id": 10352,
    "num": 3009,
    "description": "Salg mat 15%",
    "external_references": []
  },
  {
    "id": "35070",
    "customer_id": 10352,
    "num": 3010,
    "description": "Salg mat 25%",
    "external_references": []
  },
  {
    "id": "35072",
    "customer_id": 10352,
    "num": 7740,
    "description": "Øresavrunding",
    "external_references": []
  }
]

Common Account Types

Payment Accounts (1500-1999)

AccountDescription
1500Invoice receivables
1901Cash
1921Credit card
1923Debit card (BankAxept)
1953Vipps

Revenue Accounts (3000-3999)

AccountDescription
3000Sales 25% VAT
3009Food sales 15% VAT
3010Food sales 25% VAT
3013Soft drinks 25% VAT
3015Coffee/tea 25% VAT

Other Accounts

AccountDescription
2900Gift card liability
7740Rounding adjustment
3990Invoice admin fee
  • Customers - Parent customer/tenant
  • Lines - Order lines reference accounts via account_id
  • Payments - Payments reference accounts via account_id

Technical documentation for partners and integrators