Get trial balance (saldobalance)
GET
/v1/trial-balanceBalance 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
- Balances at the end of this date (YYYY-MM-DD). Defaults to today in Denmark (Europe/Copenhagen).
- include_zero_balancesstringInclude balance-sheet and P&L accounts whose balance is zero (default: false)One of
truefalse
Errors
400Invalid input or validation failed401Invalid or missing authentication403Missing scope, or the company is archived404No accounting year contains the date429Rate limit exceeded500Internal Server Error
Every error has the same shape. See Errors.
curl https://api.numina.app/v1/trial-balance \
-H "Authorization: Bearer numi_YOUR_API_KEY"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();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
{
"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
}
]
}