Skip to content

API reference

The reference is split into areas. Each page lists method, path and the right the handler requires, generated from the route table in the code. Request and response shapes for the most used calls are in Examples. Each area points to the technical document that explains the rules behind it (in Norwegian).

Area Scope
Identity and access /me, members, roles, invitations, firm and engagement, subscription, terms
Company and general ledger Onboarding, chart of accounts, vouchers, attachments, period lock, dimensions, year-end close
Sales and subledger Invoices, quotes, orders, products, customers, open items
Accounting and reports Specifications, income statement, balance sheet, VAT, SAF-T, audit, budget
Bank and payments Reconciliation, OCR, payment lists, cards, currency
Payroll, time and expenses Employees, payroll, a-melding, time, expenses
Inbox, import and jobs Voucher inbox, inbound e-mail, SAF-T and CSV import
Share register and assets Shareholders, dividends, RF-1086, asset register
Integrations, agents and messages Machine access, agent tasks, conversations
Anchoring and verification Public feed, per-company proofs
Platform The vendor console (not an integration API)
  • Authentication: Authorization: Bearer <token>. See Authentication.
  • All company endpoints live under /companies/{company_id}/…. Without access the response is 404.
  • Amounts in øre, dates YYYY-MM-DD, errors as {"error": "…"}. See Conventions.
  • Endpoints with separate rights for “own” and “all” (_EGNE and _ALLE): _ALLE implies _EGNE.
Path Why
/, /callback, /assets/*, /ny, /portal-config, /manifest.webmanifest, /sw.js, icons Serve the web portal
/auth/token, /auth/refresh, /auth/logout, /auth/device, /auth/device/poll The portal’s sign-in, not for integrations
/webhooks/stripe, /webhooks/altinn Inbound calls from Stripe and Altinn, signed by them. Not for you to call

The longer, hand-written overview in the repository (docs/api.md) lags behind the route table somewhat; the reference here is generated from the code.