NuminaDevelopers
Dashboard
Get trial balance (saldobalance)

Get trial balance (saldobalance)

GET
/v1/trial-balance

Balance per account at the end of a date; the balances always sum to zero. Balance-sheet accounts are closing balances, including everything carried forward from earlier years (posted primo for closed years, calculated for years not yet closed). P&L accounts are accounting-year-to-date; the current year's result is not yet transferred to equity. Drafts are excluded. Amounts are DKK; debit is positive, credit is negative (so income and liabilities are negative).

Requires one ofreports:readread:ledger

Query parameters

  • datestring· YYYY-MM-DD
    Balances at the end of this date (YYYY-MM-DD). Defaults to today in Denmark (Europe/Copenhagen).
  • Include balance-sheet and P&L accounts whose balance is zero (default: false)
    One oftruefalse

Errors

  • 400Invalid input or validation failed
  • 401Invalid or missing authentication
  • 403Missing scope, or the company is archived
  • 404No accounting year contains the date
  • 429Rate limit exceeded
  • 500Internal Server Error

Every error has the same shape. See Errors.

cURL
curl https://api.numina.app/v1/trial-balance \
  -H "Authorization: Bearer numi_YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.numina.app/v1/trial-balance", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.NUMINA_API_KEY}`,
  },
});

const data = await response.json();
Python
import os

import requests

response = requests.get(
    "https://api.numina.app/v1/trial-balance",
    headers={
        "Authorization": f"Bearer {os.environ['NUMINA_API_KEY']}",
    },
)
data = response.json()
Response
200
{
  "date": "2026-06-30",
  "accounting_year": "2026",
  "year_start": "2026-01-01",
  "year_end": "2026-12-31",
  "year_is_closed": false,
  "base_currency": "DKK",
  "accounts": [
    {
      "account_number": 1010,
      "name": "Salg af varer",
      "statement": "profit_loss",
      "category": "income",
      "balance_dkk": -500000
    },
    {
      "account_number": 2000,
      "name": "Vareforbrug",
      "statement": "profit_loss",
      "category": "expense",
      "balance_dkk": 300000
    },
    {
      "account_number": 5820,
      "name": "Bank",
      "statement": "balance_sheet",
      "category": "asset",
      "balance_dkk": 250000
    },
    {
      "account_number": 6800,
      "name": "Leverandørgæld",
      "statement": "balance_sheet",
      "category": "liability",
      "balance_dkk": -50000
    }
  ]
}