Relta Huvudbok API

Backend API for Relta bookkeeping engine

POST /api/huvudbok

Create verification

GET /api/huvudbok

List verifications

GET /api/huvudbok/reports

Reports (trial_balance, income_statement, balance_sheet, vat, dashboard)

POST /api/huvudbok/init

Initialize org with BAS accounts

POST /api/huvudbok/fiscal-year

Create fiscal year

GET/POST /api/huvudbok/sie4

SIE4 export/import

Connect from Lovable: use these endpoints with your org credentials