Menu
Cookbooks
API reference
- Overview
- Companies
- Customers
- Invoices
- Articles
- Suppliers
- Supplier invoices
- Supplier payment files
- Expense claims
- Transactions
- Reconciliation
- Bank accounts
- Journal entries
- Voucher gap explanations
- Fiscal periods
- Accounts
- Fixed assets
- Documents
- Inbox items
- Dimensions
- Employees
- Salary runs
- Reports
- Imports
- Compliance check
- Skatteverket
- Peppol
- Webhooks
- Operations
- Health
API reference
Every endpoint exposed by the Accounted REST API, grouped by resource. Auto-generated from the same Zod registry that powers the OpenAPI 3.1 spec, the MCP tool surface, and runtime validators: there is no separate doc-source to keep in sync.
Resources
Companies
List, create and read the companies the API key can access, and read and update their settings: payment, contact and invoicing, the tax and VAT profile, and the bookkeeping lock.
Customers
CRM-side: who you invoice. Business and individual (sole-trader) customers with VIES validation.
Invoices
Outbound invoicing: draft, send, mark paid, credit, PDF download. Mixed-rate VAT supported.
Articles
Read the article/product catalogue used to build invoice line items.
Suppliers
AP-side counterparties. Mirrors customers on the supplier vertical.
Supplier invoices
AP lifecycle: register, approve, book (deferred booking), mark paid, credit. With ROT/RUT and reverse-charge support.
Supplier payment files
Betalfil (pain.001) for supplier invoices: preview what can be paid, create a batch, download the file for the bank, cancel.
Expense claims
Utlägg: costs an owner or employee paid privately. Register, list, delete, record the payout, and match a bank payout to open claims.
Transactions
Bank transactions: ingest, categorise, match to invoices, reconcile.
Reconciliation
Run bank-to-ledger reconciliation and read the current matching status.
Bank accounts
The company's bank accounts (cash accounts, whose ids filter transactions) and the bank connections that sync them.
Journal entries
The bookkeeping engine surface: verifikation lifecycle (draft, commit, reverse, correct).
Voucher gap explanations
Documented explanations for gaps in the voucher series, per BFNAR 2013:2.
Fiscal periods
Fiscal years and their lifecycle: create, edit, lock, unlock, close, year-end, opening balances, FX revaluation, and klarmarkering of years closed in a previous system.
Accounts
The chart of accounts (BAS): read, add, edit, activate, deactivate and delete unused accounts.
Fixed assets
The anläggningsregister: register an asset (no voucher, the purchase is already booked), correct it while no depreciation is posted, and dispose it, which posts the avyttring voucher with gain or loss, VAT and jämkning.
Documents
Underlag: multipart upload, list and read metadata, signed-URL download (15-min TTL), link to journal entries, delete an unlinked document.
Inbox items
The invoice inbox: list and read items, correct the extracted fields, convert an item to a supplier invoice, unmatch a transaction, stamp or delete an item.
Dimensions
Cost-centre / project dimensions and their values for tagging journal lines.
Employees
Payroll roster: CRUD with personnummer masking on list endpoints.
Salary runs
Payroll lifecycle: create, calculate, approve, mark paid, book, generate AGI XML, and close the vacation year.
Reports
Reports and filing: trial balance, P&L, balance sheet, GL, VAT with eSKD and the settlement, INK2 and NE-bilaga with SRU files, periodisk sammanställning, cash flow, KPI, behandlingshistorik, bokslutsbilagor, the audit trail, SIE export and more.
Imports
Bulk async ingest: SIE files (Fortnox/Visma/BL/SpeedLedger/Bokio migrations) and bank statements (12 formats).
Compliance check
Pre-flight verification: voucher gaps, year-end readiness, before submitting to Skatteverket.
Skatteverket
Skatteverket: filed VAT declarations and their decisions, AGI pre-validation, and syncing the skattekonto now.
Peppol
Peppol e-invoicing for the company: participant registration status, registering to receive, and requesting access. Sending an invoice over Peppol is on the invoices page.
Webhooks
Subscribe to events with HMAC-signed delivery, exponential retries, and dead-letter replay.
Operations
Poll long-running async operations (year-end closing, imports, currency revaluation).
Health
Unauthenticated liveness check.