8. Accounting¶
What's here¶
Finance → Accounting is the home for:
- Invoice list + detail (covered in chapter 4).
- SIE-4 export - Swedish accounting interchange file you import into Fortnox / Visma / BL / Bokio / etc.
- VAT period report - quarterly VAT rollup for Skatteverket.
- Invoice CSV - flat export for spreadsheets.
- Abandoned cart conversions - the "did our recovery emails actually convert?" report.
You need accounting:read to see any of this; accounting:edit to
create credit invoices or import proformas. The Accounting role
has both.
SIE-4 export¶
SIE (Standard Imported Export) is the Swedish accounting interchange format. Most accounting software in Sweden imports it.
- Finance → Accounting → SIE-4 export.
- Pick the date range (typically a month or a quarter).
- Pick which account codes to use for revenue, VAT, freight, etc. (These are pre-filled from Settings → Accounting; only adjust if you changed your chart of accounts.)
- Generate. The browser downloads a
.siefile (ISO-8859-1 encoded, as the spec requires). - Import into Fortnox / Visma / your software.
What's in the file:
- Header (company info from Settings).
- Account list (from your chart of accounts).
- One verification per invoice with: customer, gross, net, VAT amount, account codes.
- Customers (
#KUNDrecords) for every customer who has at least one invoice in the period.
If your accountant complains the file won't import, the most common issues are:
- Encoding: must be ISO-8859-1 (Latin-1). Don't open it in a modern editor that converts to UTF-8.
- Account codes: every line must reference an account that's in the header's account list. Mismatch = reject.
- VAT rates: SIE-4 expects standard Swedish VAT rates (25 / 12 / 6 / 0). Non-standard rates need a custom account code.
VAT period report¶
For Skatteverket's quarterly VAT declaration:
- Finance → Accounting → VAT period.
- Pick the quarter (Q1/Q2/Q3/Q4 + year).
- Generate report.
You get a table:
| Rate | Net | VAT amount |
|---|---|---|
| 25% | 1 234 567 SEK | 308 642 SEK |
| 12% | 0 | 0 |
| 6% | 12 345 | 741 |
| 0% (export) | 56 789 | - |
| Total VAT to declare | 309 383 SEK |
Use this to fill in Skatteverket's online form. The PDF download is the same table, signed with the period + your CVR/orgnr.
Notes:
- Includes all invoices issued in the period (regardless of paid status). VAT is owed on invoice date, not payment date.
- Excludes credit invoices - they're netted against the original.
- EU exports (B2B sales to other EU countries with VAT-validated buyers) show as 0% with a note. Domestic ones don't.
Invoice CSV export¶
For Excel / Google Sheets work that the SIE-4 file doesn't fit:
- Finance → Accounting → Invoices → Export CSV.
- Pick a date range.
- Optionally filter by status (paid / unpaid / overdue / credited).
- Download.
Columns: invoice number, order number, customer email, customer company, issued date, due date, status, total (region currency), total SEK, currency, payment method, VAT rate, payment terms days, OCR ref.
Abandoned cart conversions¶
Did our recovery emails work? Finance → Accounting → Abandoned cart conversions:
- Carts that triggered a recovery email in the period.
- How many converted (the customer placed an order from that cart).
- Conversion rate.
- Total revenue from converted carts.
Drill into a row to see the specific cart + order.
Setting up your chart of accounts¶
Settings → Settings → Accounting:
- Default account codes - used by SIE-4 when an invoice line doesn't specify a custom code.
- VAT account codes - separate rows for each VAT rate.
- Freight account code - used for shipping line items.
- Bank giro number - used in OCR reference generation and on invoice PDF.
- Company info - name, address, orgnr, VAT number - shown on invoice PDFs and SIE-4 headers.
Don't change these mid-period. If you must, do it on the dev site first, regenerate a SIE-4 for that period, confirm your accountant likes the result, then change prod.
Common gotchas¶
- SIE-4 file encoding: don't open and re-save in UTF-8 - the
Swedish letters break. Just upload the original
.siedirectly to your accounting software. - VAT on shipping: we calculate shipping VAT separately and show it on a separate line in the invoice. SIE-4 puts it under the freight account code, not the goods VAT account.
- Currency: SIE-4 supports multi-currency, but most accountants prefer one file per currency. Today we emit a single multi-currency file; if your accountant insists otherwise, ask the dev team to add per-currency exports.
- Credit invoices: SIE-4 emits them as negative-amount verifications referencing the credited invoice. Most accounting software handles this; if yours doesn't, flag it to the dev team.
That's the end of the admin guide. Back to the homepage.