Menu
Getting started
Cookbooks
API reference
- Overview
- Companies
- Capabilities
- Measures
- Packages
- Unexplained
- Liquidity forecast
- Portfolio
- Customers
- Invoices
- Collections
- Articles
- Set-offs
- Suppliers
- Supplier invoices
- Supplier payment files
- Bank payments
- Expense claims
- Transactions
- Reconciliation
- Bank accounts
- POS sales
- Webshop orders
- Journal entries
- Voucher gap explanations
- Fiscal periods
- Accounts
- Accrual schedules
- Agreements and commitments
- Tax loss carry-forwards
- Fixed assets
- Documents
- Signing requests
- Company registers
- Capital events
- Owner tax
- Inbox items
- Dimensions
- Employees
- Salary runs
- Reports
- Budgets
- Imports
- Compliance check
- Deadlines
- Skatteverket
- Peppol
- Webhooks
- Operations
- Pending operations
- Health
- API key
- Service accounts
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, the skattekonto account, and the bookkeeping lock.
Endpoints
GET/api/v1/companies: List companies the API key can access.GET/api/v1/companies/:companyId/settings: Read the company settings.GET/api/v1/companies/:companyId/settings/skattekonto-account: Read which ledger account the skattekonto runs on (1630, or 2012 for an enskild firma).POST/api/v1/companies: Create a company and set it up for bookkeeping.PATCH/api/v1/companies/:companyId/settings: Partially update company settings (contact, invoicing, reminders, voucher series, toggles).PATCH/api/v1/companies/:companyId/settings/bookkeeping-lock: Set, move or remove the company-wide bookkeeping lock date.PATCH/api/v1/companies/:companyId/settings/skattekonto-account: Choose the ledger account the skattekonto runs on: 1630, or 2012 in equity for an enskild firma.PATCH/api/v1/companies/:companyId/settings/tax-profile: Change the tax and legal profile: VAT, F-skatt, employer registration, fiscal year, accounting method.
GET /api/v1/companies
companies.list · scope companies:read
List companies the API key can access.
Returns every non-archived company the API key user is a member of, together with their role. Use the returned id as {companyId} in subsequent endpoints.
Use when: You need to discover which company IDs an API key has access to before calling company-scoped endpoints.
Don't use for: Reading one company's settings: GET /api/v1/companies/{companyId}/settings. There is no single-company GET: this list already carries each company's name, org number, form and role.
Pitfalls
- Multi-company keys (e.g. consultants) will see >1 result. Always pass the correct companyId in subsequent paths.
- Archived companies are excluded; if a company disappears the user has been removed from it or it was archived.
Risk: low · Idempotent: yes · Reversible: no · Dry-run supported: no
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | no | Opaque cursor from the previous page's meta.next_cursor. Omit for the first page. |
limit | number | no | Page size, 1-100 (default 50). Larger values are clamped to 100. |
Response fields
| Name | Type | Description |
|---|---|---|
[].id | string | |
[].handle | string (optional) | Typed handle of this company: cmp_ plus its id as 32 lowercase hex. Accepted wherever the id is. |
[].name | string | |
[].org_number | string | null | |
[].entity_type | string | |
[].role | "owner" | "admin" | "member" | "viewer" | "invoicer" | |
[].created_at | string |
Example response
{
"data": [
{
"id": "8fd5b1f4-…",
"name": "Acme AB",
"org_number": "556677-8899",
"entity_type": "aktiebolag",
"role": "owner",
"created_at": "2025-01-04T08:00:00Z"
}
],
"meta": {
"request_id": "req_…",
"api_version": "2026-05-12",
"next_cursor": null
}
}
GET /api/v1/companies/:companyId/settings
settings.get · scope companies:read
Read the company settings.
Returns every company setting the API can write: contact and address, invoice payment details and layout, invoice email texts and recipients, reminders, voucher series, feature toggles, the tax profile (VAT/moms, F-skatt, employer registration, fiscal year, accounting method, share capital) and the bookkeeping lock, plus the fixed legal identity (entity_type, org_number) and the document inbox address (inbox_address). contact_person is the default "Vår referens" on new invoices.
Use when: Before creating invoices (payment details must exist), before any settings change, or to learn how the books are kept (accounting_method: accrual = faktureringsmetoden, cash = kontantmetoden; moms_period).
Don't use for: Payroll settings (GET /salary/settings) or fiscal periods and their locks (GET /fiscal-periods).
Pitfalls
- Fields that were never set read null, not a default.
- bookkeeping_locked_through is the company-wide lock: nothing on or before that date can be booked or changed.
Risk: low · Idempotent: yes · Reversible: no · Dry-run supported: no
Response fields
| Name | Type | Description |
|---|---|---|
company_id | string | |
entity_type | string | null | |
org_number | string | null | The company org number. For an enskild firma it is the owner's personnummer and the last four digits are masked. |
onboarding_complete | boolean | null | |
contact_person | string | null | Default "Vår referens" on new invoices (column default_our_reference). |
invoice_qr_mode | "auto" | "bank_app" | "swish" | "payment_link" | "none" | null | The one payment QR code invoice PDFs print (auto, bank_app, swish, payment_link, none). invoice_show_payment_qr is superseded by it. |
company_name | string | null | |
address_line1 | string | null | |
address_line2 | string | null | |
postal_code | string | null | |
city | string | null | |
registered_office | string | null | |
country | string | null | |
phone | string | null | |
email | string | null | |
website | string | null | |
tax_contact_name | string | null | |
tax_contact_phone | string | null | |
tax_contact_email | string | null | |
bank_name | string | null | |
clearing_number | string | null | |
account_number | string | null | |
bankgiro | string | null | |
plusgiro | string | null | |
swish | string | null | |
iban | string | null | |
bic | string | null | |
swedbank_signer_id | string | null | |
swedbank_corporate_pay_id | string | null | |
nordea_signer_id | string | null | |
nordea_agreement_id | string | null | |
invoice_prefix | string | null | |
invoice_default_notes | string | null | |
invoice_company_name_position | string | null | |
invoice_late_fee_text | string | null | |
invoice_credit_terms_text | string | null | |
invoice_late_fee_text_en | string | null | |
invoice_credit_terms_text_en | string | null | |
invoice_email_reply_to | string | null | |
invoice_primary_color | string | null | |
invoice_accent_color | string | null | |
invoice_font_family | string | null | |
invoice_header_text | string | null | |
invoice_footer_text | string | null | |
default_voucher_series | string | null | |
sector_slug | string | null | |
self_billing_prefix | string | null | |
self_billing_acceptance_text | string | null | |
salary_vacation_year_basis | string | null | |
vat_number | string | null | |
moms_period | string | null | |
vat_filing_method | string | null | |
periodisk_sammanstallning_period | string | null | |
periodisk_sammanstallning_filing_method | string | null | |
accounting_method | string | null | |
bookkeeping_locked_through | string | null | |
ore_rounding | boolean | null | |
invoice_show_ocr | boolean | null | |
invoice_show_bankgiro | boolean | null | |
invoice_show_plusgiro | boolean | null | |
invoice_show_swish | boolean | null | |
invoice_show_payment_qr | boolean | null | |
invoice_show_logo | boolean | null | |
invoice_show_article_number | boolean | null | |
invoice_show_company_name | boolean | null | |
invoice_payment_links_enabled | boolean | null | |
send_invoice_reminders | boolean | null | |
reminder_fee_enabled | boolean | null | |
dimensions_enabled | boolean | null | |
mileage_enabled | boolean | null | |
sales_orders_enabled | boolean | null | |
quotes_enabled | boolean | null | |
proforma_enabled | boolean | null | |
recurring_invoices_enabled | boolean | null | |
self_billing_enabled | boolean | null | |
f_skatt | boolean | null | |
vat_registered | boolean | null | |
vat_taxable_base_over_40m | boolean | null | |
vat_has_eu_trade | boolean | null | |
periodisk_sammanstallning_enabled | boolean | null | |
kontrolluppgifter_enabled | boolean | null | |
rot_rut_enabled | boolean | null | |
oss_enabled | boolean | null | |
ioss_enabled | boolean | null | |
intrastat_enabled | boolean | null | |
punktskatt_enabled | boolean | null | |
fyllnadsinbetalning_enabled | boolean | null | |
pays_salaries | boolean | null | |
employer_registered | boolean | null | |
employer_seasonal | boolean | null | |
defer_invoice_booking | boolean | null | |
next_invoice_number | number | null | |
next_arrival_number | number | null | |
invoice_default_days | number | null | |
reminder_days_level_1 | number | null | |
reminder_days_level_2 | number | null | |
reminder_days_level_3 | number | null | |
reminder_fee_amount | number | null | |
reminder_interest_rate_override | number | null | |
fiscal_year_start_month | number | null | |
preliminary_tax_monthly | number | null | |
aktiekapital | number | null | |
antal_aktier | number | null | |
auto_lock_period_days | number | null | |
next_self_billing_number | number | null | |
invoice_payment_accounts | unknown (optional) | |
invoice_email_texts | unknown (optional) | |
invoice_email_cc_addresses | unknown (optional) | |
invoice_email_bcc_addresses | unknown (optional) | |
reminder_text_overrides | unknown (optional) | |
default_voucher_series_per_source_type | unknown (optional) | |
voucher_series_labels | unknown (optional) | |
inbox_address | string | null | The document inbox address: mail sent or forwarded here becomes an inbox item. Null when the company has no inbox. |
Example response
{
"data": {
"company_id": "aaaa1111-2222-4333-8444-555566667777",
"entity_type": "aktiebolag",
"company_name": "Acme AB",
"contact_person": "Anna Andersson",
"bankgiro": "991-2346",
"vat_registered": true,
"moms_period": "quarterly",
"accounting_method": "accrual",
"bookkeeping_locked_through": "2026-06-30"
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}
GET /api/v1/companies/:companyId/settings/skattekonto-account
settings.get-skattekonto-account · scope companies:read
Read which ledger account the skattekonto runs on (1630, or 2012 for an enskild firma).
Returns the account every skattekonto reader uses now (booking skattekonto rows, matching them to verifikat, the skattekonto reconciliation), the stored choice, the accounts the legal form may choose, what the books suggest and the balance on each choosable account.
Use when: Before booking skattekonto rows or a payment to Skatteverket by hand, or before changing the account.
Don't use for: The skattekonto events themselves (the reconciliation and skattekonto sync endpoints).
Pitfalls
- chosen is null for a company that never chose: it runs 1630.
- balances read the ledger through as_of; a change of account moves none of it.
Risk: low · Idempotent: yes · Reversible: no · Dry-run supported: no
Response fields
| Name | Type | Description |
|---|---|---|
entity_type | string | The company's legal form; only an enskild_firma may choose 2012. |
account | "1630" | "2012" | The account every skattekonto reader uses now: booking, matching and the reconciliation. |
chosen | "1630" | "2012" | null | The stored choice; null when never chosen (the company then runs 1630). |
choices | ("1630" | "2012")[] | The accounts this legal form may choose, the default first. |
books_suggest | "1630" | "2012" | null | What the books say: 1630 or 2012 when skattekonto lines sit on that account, null with nothing booked on either. |
as_of | string | The date the balances are read through (YYYY-MM-DD, today in Sweden). |
balances | object[] | The balance on each choosable account, so a change shows what stays on the old one. |
Example response
{
"data": {
"entity_type": "enskild_firma",
"account": "1630",
"chosen": null,
"choices": [
"1630",
"2012"
],
"books_suggest": "1630",
"as_of": "2026-10-26",
"balances": [
{
"account": "1630",
"balance": 1250
},
{
"account": "2012",
"balance": 0
}
]
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}
POST /api/v1/companies
companies.create · scope companies:write
Create a company and set it up for bookkeeping.
Creates a new company owned by the API key user (or attached to one of their teams) and sets it up in one call: owner membership, BAS chart of accounts for the company form, compliance settings, the first fiscal period and the automatic tax deadlines. A 30-day trial with every paid capability starts immediately. Intended for partner platforms provisioning client companies (byrå/vertical SaaS) and for agents onboarding a user.
Use when: A platform or agent needs to provision a company that does not exist in Accounted yet. The caller becomes its owner. Members and invitations have no API: the owner invites people in the app under Settings > Users (/settings/members).
Don't use for: Companies that already exist (list them with GET /api/v1/companies), or changing settings on an existing company (PATCH /api/v1/companies/{companyId}/settings).
Pitfalls
- A VAT-registered company MUST send moms_period (monthly / quarterly / yearly); the request is refused otherwise, because a missing period silently produces zero VAT deadlines.
- Bookkeeping duty under BFL starts when the company exists with a fiscal period: do not create companies to try things out. Use a test-mode key (dry run) for that.
- Enskild firma always runs on the calendar year; fiscal_year_start_month is ignored for it.
- first_fiscal_year is only for a company in its first year (BFL 3 kap.: up to 18 months). Omit it for an established company.
- Send an Idempotency-Key. With one, a retry with the same key and body returns the company the first call created (200, Idempotent-Replayed: true), never a second one; the same key with another body answers 409 IDEMPOTENCY_KEY_REUSE. Keep the key for the whole provisioning attempt (24 h). The header is optional for compatibility: without it, a retry after a network failure creates a second company.
- org_number is required for a VAT-registered company (the invoice momsregistreringsnummer derives from it), and f_skatt must be stated explicitly: F-skatt approval is never assumed.
- accounting_method may be omitted: it then defaults by form (aktiebolag accrual, enskild firma cash) and the response shows the resolved value. The cash default is only legal when turnover normally stays under 3 MSEK (BFL 4 kap 4 §): send accrual explicitly for a larger enskild firma.
- ideell_forening, ekonomisk_forening and bostadsrattsforening are rolled out per installation behind the server-side flags NEXT_PUBLIC_IDEELL_FORENING_ENABLED, NEXT_PUBLIC_EKONOMISK_FORENING_ENABLED and NEXT_PUBLIC_BOSTADSRATTSFORENING_ENABLED. Until the flag is on, a request with that entity_type is refused with VALIDATION_ERROR on entity_type; enskild_firma and aktiebolag are always creatable.
Risk: medium · Idempotent: no · Reversible: no · Dry-run supported: yes
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dry_run | string | no | true (any case) previews the write without committing it, like the X-Dry-Run: true header. Any other value commits. |
Request body
| Name | Type | Required |
|---|---|---|
name | string | yes |
entity_type | "enskild_firma" | "aktiebolag" | "ideell_forening" | "ekonomisk_forening" | "bostadsrattsforening" | yes |
org_number | string | no |
vat_registered | boolean | yes |
moms_period | "monthly" | "quarterly" | "yearly" | null | no |
accounting_method | "accrual" | "cash" | no |
f_skatt | boolean | yes |
fiscal_year_start_month | number | no |
first_fiscal_year | object | no |
address_line1 | string | no |
postal_code | string | no |
city | string | no |
team_id | string | no |
Response fields
| Name | Type | Description |
|---|---|---|
id | string | |
handle | string (optional) | Typed handle of this company: cmp_ plus its id as 32 lowercase hex. Accepted wherever the id is. |
name | string | |
entity_type | "enskild_firma" | "aktiebolag" | "ideell_forening" | "ekonomisk_forening" | "bostadsrattsforening" | |
org_number | string | null | |
vat_registered | boolean | |
moms_period | "monthly" | "quarterly" | "yearly" | null | |
accounting_method | "accrual" | "cash" | |
fiscal_period | object | |
team_id | string | null |
Example request
{
"name": "Acme AB",
"entity_type": "aktiebolag",
"org_number": "5566778899",
"vat_registered": true,
"moms_period": "quarterly",
"accounting_method": "accrual",
"f_skatt": true
}
Example response
{
"data": {
"id": "8fd5b1f4-…",
"name": "Acme AB",
"entity_type": "aktiebolag",
"org_number": "5566778899",
"vat_registered": true,
"moms_period": "quarterly",
"accounting_method": "accrual",
"fiscal_period": {
"start_date": "2026-01-01",
"end_date": "2026-12-31",
"name": "Räkenskapsår 2026"
},
"team_id": null
},
"meta": {
"request_id": "req_…",
"api_version": "2026-05-12"
}
}
PATCH /api/v1/companies/:companyId/settings
settings.update · scope companies:write
Partially update company settings (contact, invoicing, reminders, voucher series, toggles).
Patches any subset of the non-legal company settings: contact and address, invoice payment details (bank account, Bankgiro, Plusgiro, Swish, IBAN/BIC, per-currency payment accounts), the Swedbank SignerID and Corporate Pay id for payment files, invoice numbering, layout and branding, invoice email texts and fixed copy recipients, reminders, voucher series, feature toggles and the vacation-year basis. Same rules as the settings page. Owner or admin only. Idempotent (mandatory Idempotency-Key). Dry-runnable.
Use when: The payment or contact details on invoices change, invoice texts or reminders should be adjusted, or a feature should be switched on or off.
Don't use for: VAT, F-skatt, fiscal year, accounting method or share capital (PATCH /settings/tax-profile), the bookkeeping lock (PATCH /settings/bookkeeping-lock), payroll settings (PATCH /salary/settings). entity_type and org_number are fixed.
Pitfalls
- Only an owner or admin of the company may change settings: other members get 403 FORBIDDEN.
- contact_person is stored as default_our_reference: the default "Vår referens" on new invoices.
- bankgiro and plusgiro must carry a valid Luhn check digit; null or empty string clears them.
- iban and bic are what SEK invoices print. The salary, supplier and tax payment files pay from the account the salary is booked on (the primary bank account) with that account's own IBAN; they use iban and bic from here only when that account has no IBAN and is the company's only SEK bank account, or the company has no bank accounts. The bankgiro here is the sender of a Bankgirot LB file.
- invoice_email_texts only accepts the placeholders {fakturanummer} {kundnamn} {förnamn} {företag} {förfallodatum} {belopp}.
- reminder_days_level_1 < _2 < _3 must hold after the change (stored values fill in the ones not sent).
- The booking engine reads default_voucher_series_per_source_type, not default_voucher_series: send the map to move bookings to another series.
- salary_vacation_year_basis cannot change while open vacation balances exist.
- Turning dimensions_enabled on also registers the dimension codes already on journal lines as archived registry values, as the settings page does; the warning DIMENSION_CODES_IMPORTED says how many.
Risk: medium · Idempotent: yes · Reversible: yes · Dry-run supported: yes · Stage for approval: yes (?stage=true)
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dry_run | string | no | true (any case) previews the write without committing it, like the X-Dry-Run: true header. Any other value commits. |
stage | string | no | true stages the write for approval instead of committing it: 202 with the pending operation to approve via POST /pending-operations/{id}/approve. Absent or false commits; other values are 400. A reason in the body (why you propose it, at most 500 characters) is shown to the approver as agent_reason and kept with the decision. |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
company_name | string | no | |
address_line1 | string | no | |
address_line2 | string | no | |
postal_code | string | no | |
city | string | no | |
registered_office | string | null | no | |
country | string | no | |
phone | string | no | |
email | string | "" | no | |
website | string | "" | no | |
tax_contact_name | string | null | no | |
tax_contact_phone | string | null | no | |
tax_contact_email | string | null | "" | no | |
bank_name | string | null | no | |
clearing_number | string | null | "" | no | |
account_number | string | null | "" | no | |
bankgiro | string | null | "" | no | 7-8 digit Bankgiro with a valid Luhn check digit. Null or empty string clears it. |
plusgiro | string | null | "" | no | Plusgiro with hyphen and a valid Luhn check digit. Null or empty string clears it. |
swish | string | null | no | |
iban | string | null | "" | no | |
bic | string | null | "" | no | |
swedbank_signer_id | string | null | no | Swedbank SignerID, format 123456789ORI0001, assigned by Swedbank. Written as the initiating party of the pain.001 payment files (supplier payments, tax payments, salaries) of a company whose bank is Swedbank or a savings bank; Swedbank refuses such a file without it. Null or empty string clears it. |
swedbank_corporate_pay_id | string | null | no | Swedbank Corporate Pay agreement id, format 123456789CPO0001, assigned by Swedbank. Written as the debtor id of the pain.001 payment files of a Swedbank company; required together with swedbank_signer_id. Null or empty string clears it. |
nordea_signer_id | string | null | no | Nordea Signer ID, letters and digits (for example NB10000123456), agreed with or assigned by Nordea; Nordea shows it when it refuses a file for the wrong Signer ID. Written as the initiating party (SchmeNm CUST) of the pain.001 payment files (supplier payments, tax payments, salaries) of a company whose bank is Nordea; Nordea refuses such a file without it. Spaces and hyphens are dropped and letters upper-cased. Null or empty string clears it. |
nordea_agreement_id | string | null | no | Nordea CCM (Corporate Cash Management) agreement id, letters and digits, assigned by Nordea: at Nordea Business it starts with NB (for example NB123456). Written as the debtor id (SchmeNm BANK) of the pain.001 payment files of a company whose bank is Nordea; required together with nordea_signer_id, and Nordea rejects a file without it. Spaces and hyphens are dropped and letters upper-cased. Null or empty string clears it. |
invoice_payment_accounts | object | no | |
invoice_prefix | string | null | no | |
next_invoice_number | number | no | |
next_arrival_number | number | no | |
invoice_default_days | number | no | |
invoice_default_notes | string | null | no | |
ore_rounding | boolean | no | |
invoice_show_ocr | boolean | no | |
invoice_show_bankgiro | boolean | no | |
invoice_show_plusgiro | boolean | no | |
invoice_show_swish | boolean | no | |
invoice_show_payment_qr | boolean | no | Superseded by invoice_qr_mode: accepted for compatibility, no longer changes the PDF. |
invoice_qr_mode | "auto" | "bank_app" | "swish" | "payment_link" | "none" | no | Payment QR code on the invoice PDF: auto (Swish to private customers when usable, else bank app, else Swish, else the payment link), bank_app, swish, payment_link or none. An explicit mode that cannot be printed prints no QR. |
invoice_show_logo | boolean | no | |
invoice_show_article_number | boolean | no | |
invoice_show_company_name | boolean | no | Superseded by the fixed invoice layout, which always prints the company name in Från and the footer: accepted for compatibility. |
invoice_company_name_position | "header" | "footer" | no | Superseded by the fixed invoice layout: accepted for compatibility, no longer changes the PDF. |
invoice_late_fee_text | string | null | no | |
invoice_credit_terms_text | string | null | no | |
invoice_late_fee_text_en | string | null | no | English invoice_late_fee_text, printed on invoices to customers whose language is en. Null or empty prints the Swedish text. |
invoice_credit_terms_text_en | string | null | no | English invoice_credit_terms_text, printed on invoices to customers whose language is en. Null or empty prints the Swedish text. |
invoice_payment_links_enabled | boolean | no | |
invoice_email_texts | object | null | no | Per-language (sv, en) overrides of subject, greeting, body, signoff. Placeholders: {fakturanummer} {kundnamn} {förnamn} {företag} {förfallodatum} {belopp}. Null clears every override. |
invoice_email_cc_addresses | string[] | null | no | |
invoice_email_bcc_addresses | string[] | null | no | |
invoice_email_reply_to | string | null | no | |
invoice_primary_color | string | no | |
invoice_accent_color | string | no | |
invoice_font_family | "Helvetica" | "Times-Roman" | "Courier" | "Source Sans 3" | "Source Serif 4" | "Custom" | no | |
invoice_header_text | string | null | no | |
invoice_footer_text | string | null | no | |
send_invoice_reminders | boolean | no | |
reminder_days_level_1 | number | no | |
reminder_days_level_2 | number | no | |
reminder_days_level_3 | number | no | |
reminder_text_overrides | object | null | no | |
reminder_fee_enabled | boolean | no | |
reminder_fee_amount | number | no | |
reminder_interest_rate_override | number | null | no | |
default_voucher_series | string | no | |
default_voucher_series_per_source_type | object | no | |
voucher_series_labels | object | no | |
sector_slug | string | null | no | |
dimensions_enabled | boolean | no | |
mileage_enabled | boolean | no | |
sales_orders_enabled | boolean | no | |
quotes_enabled | boolean | no | |
proforma_enabled | boolean | no | |
recurring_invoices_enabled | boolean | no | |
self_billing_enabled | boolean | no | |
self_billing_prefix | string | no | |
next_self_billing_number | number | no | |
self_billing_acceptance_text | string | null | no | |
salary_vacation_year_basis | "calendar" | "statutory_apr_mar" | no | |
contact_person | string | null | no | Default "Vår referens" on new invoices. Null clears it. |
Response fields
| Name | Type | Description |
|---|---|---|
company_id | string | |
entity_type | string | null | |
org_number | string | null | The company org number. For an enskild firma it is the owner's personnummer and the last four digits are masked. |
onboarding_complete | boolean | null | |
contact_person | string | null | Default "Vår referens" on new invoices (column default_our_reference). |
invoice_qr_mode | "auto" | "bank_app" | "swish" | "payment_link" | "none" | null | The one payment QR code invoice PDFs print (auto, bank_app, swish, payment_link, none). invoice_show_payment_qr is superseded by it. |
company_name | string | null | |
address_line1 | string | null | |
address_line2 | string | null | |
postal_code | string | null | |
city | string | null | |
registered_office | string | null | |
country | string | null | |
phone | string | null | |
email | string | null | |
website | string | null | |
tax_contact_name | string | null | |
tax_contact_phone | string | null | |
tax_contact_email | string | null | |
bank_name | string | null | |
clearing_number | string | null | |
account_number | string | null | |
bankgiro | string | null | |
plusgiro | string | null | |
swish | string | null | |
iban | string | null | |
bic | string | null | |
swedbank_signer_id | string | null | |
swedbank_corporate_pay_id | string | null | |
nordea_signer_id | string | null | |
nordea_agreement_id | string | null | |
invoice_prefix | string | null | |
invoice_default_notes | string | null | |
invoice_company_name_position | string | null | |
invoice_late_fee_text | string | null | |
invoice_credit_terms_text | string | null | |
invoice_late_fee_text_en | string | null | |
invoice_credit_terms_text_en | string | null | |
invoice_email_reply_to | string | null | |
invoice_primary_color | string | null | |
invoice_accent_color | string | null | |
invoice_font_family | string | null | |
invoice_header_text | string | null | |
invoice_footer_text | string | null | |
default_voucher_series | string | null | |
sector_slug | string | null | |
self_billing_prefix | string | null | |
self_billing_acceptance_text | string | null | |
salary_vacation_year_basis | string | null | |
vat_number | string | null | |
moms_period | string | null | |
vat_filing_method | string | null | |
periodisk_sammanstallning_period | string | null | |
periodisk_sammanstallning_filing_method | string | null | |
accounting_method | string | null | |
bookkeeping_locked_through | string | null | |
ore_rounding | boolean | null | |
invoice_show_ocr | boolean | null | |
invoice_show_bankgiro | boolean | null | |
invoice_show_plusgiro | boolean | null | |
invoice_show_swish | boolean | null | |
invoice_show_payment_qr | boolean | null | |
invoice_show_logo | boolean | null | |
invoice_show_article_number | boolean | null | |
invoice_show_company_name | boolean | null | |
invoice_payment_links_enabled | boolean | null | |
send_invoice_reminders | boolean | null | |
reminder_fee_enabled | boolean | null | |
dimensions_enabled | boolean | null | |
mileage_enabled | boolean | null | |
sales_orders_enabled | boolean | null | |
quotes_enabled | boolean | null | |
proforma_enabled | boolean | null | |
recurring_invoices_enabled | boolean | null | |
self_billing_enabled | boolean | null | |
f_skatt | boolean | null | |
vat_registered | boolean | null | |
vat_taxable_base_over_40m | boolean | null | |
vat_has_eu_trade | boolean | null | |
periodisk_sammanstallning_enabled | boolean | null | |
kontrolluppgifter_enabled | boolean | null | |
rot_rut_enabled | boolean | null | |
oss_enabled | boolean | null | |
ioss_enabled | boolean | null | |
intrastat_enabled | boolean | null | |
punktskatt_enabled | boolean | null | |
fyllnadsinbetalning_enabled | boolean | null | |
pays_salaries | boolean | null | |
employer_registered | boolean | null | |
employer_seasonal | boolean | null | |
defer_invoice_booking | boolean | null | |
next_invoice_number | number | null | |
next_arrival_number | number | null | |
invoice_default_days | number | null | |
reminder_days_level_1 | number | null | |
reminder_days_level_2 | number | null | |
reminder_days_level_3 | number | null | |
reminder_fee_amount | number | null | |
reminder_interest_rate_override | number | null | |
fiscal_year_start_month | number | null | |
preliminary_tax_monthly | number | null | |
aktiekapital | number | null | |
antal_aktier | number | null | |
auto_lock_period_days | number | null | |
next_self_billing_number | number | null | |
invoice_payment_accounts | unknown (optional) | |
invoice_email_texts | unknown (optional) | |
invoice_email_cc_addresses | unknown (optional) | |
invoice_email_bcc_addresses | unknown (optional) | |
reminder_text_overrides | unknown (optional) | |
default_voucher_series_per_source_type | unknown (optional) | |
voucher_series_labels | unknown (optional) |
Example request
{
"bankgiro": "991-2346",
"contact_person": "Anna Andersson"
}
Example response
{
"data": {
"company_id": "aaaa1111-2222-4333-8444-555566667777",
"bankgiro": "991-2346",
"contact_person": "Anna Andersson",
"email": "faktura@acme.example"
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}
PATCH /api/v1/companies/:companyId/settings/bookkeeping-lock
settings.update-bookkeeping-lock · scope companies:write
Set, move or remove the company-wide bookkeeping lock date.
Sets bookkeeping_locked_through (nothing dated on or before it can be booked, corrected or attached) and auto_lock_period_days. Moving the date back or clearing it reopens those dates, exactly as the settings page allows; the response then carries the warning BOOKKEEPING_LOCK_MOVED_BACKWARDS. A change of the stored date emits the period.lock_date_changed webhook. Owner or admin only. Idempotent (mandatory Idempotency-Key). Dry-runnable.
Use when: A period is reconciled and filed and should be protected, or a locked date must be reopened for a correction.
Don't use for: Locking or closing a single fiscal period (POST /fiscal-periods/{id}/lock, /close), or correcting a posted verifikat (storno or rättelse).
Pitfalls
- Only an owner or admin of the company may change settings: other members get 403 FORBIDDEN.
- Locking more (a first lock date, or a later one) is refused while an SIE import is still holding a fiscal period (finish the import first). Moving the date back or removing it is always allowed: that is how an SIE undo stopped by the lock date continues.
- A backwards move is allowed but high risk. When it reopens a filed momsdeklaration period it is refused with 409 BOOKKEEPING_LOCK_REOPENS_FILED_VAT (details.filed_periods) unless acknowledge_filed_vat_periods is true: reopen a filed period only to book a correction and file a corrected declaration for it.
- While auto_lock_period_days is set, a lock date moved back is moved forward again the next night (the automatic lock is a floor). Set auto_lock_period_days to null first to keep the dates open longer.
Risk: high · Idempotent: yes · Reversible: yes · Dry-run supported: yes · Stage for approval: yes (?stage=true)
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dry_run | string | no | true (any case) previews the write without committing it, like the X-Dry-Run: true header. Any other value commits. |
stage | string | no | true stages the write for approval instead of committing it: 202 with the pending operation to approve via POST /pending-operations/{id}/approve. Absent or false commits; other values are 400. A reason in the body (why you propose it, at most 500 characters) is shown to the approver as agent_reason and kept with the decision. |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
bookkeeping_locked_through | string | null | no | Lock every date on or before this one (YYYY-MM-DD). Null removes the lock. |
auto_lock_period_days | number | null | no | Lock each calendar month automatically this many days after it ends (the settings page offers 30, 60, 90): every night bookkeeping_locked_through is moved forward to the newest month end that many days back, never back. A number above 36500 is stored and locks nothing. Null turns it off. |
acknowledge_filed_vat_periods | boolean | no | Required as true when the move reopens a momsdeklaration period already filed: the refusal names those periods. |
Response fields
| Name | Type | Description |
|---|---|---|
company_id | string | |
entity_type | string | null | |
org_number | string | null | The company org number. For an enskild firma it is the owner's personnummer and the last four digits are masked. |
onboarding_complete | boolean | null | |
contact_person | string | null | Default "Vår referens" on new invoices (column default_our_reference). |
invoice_qr_mode | "auto" | "bank_app" | "swish" | "payment_link" | "none" | null | The one payment QR code invoice PDFs print (auto, bank_app, swish, payment_link, none). invoice_show_payment_qr is superseded by it. |
company_name | string | null | |
address_line1 | string | null | |
address_line2 | string | null | |
postal_code | string | null | |
city | string | null | |
registered_office | string | null | |
country | string | null | |
phone | string | null | |
email | string | null | |
website | string | null | |
tax_contact_name | string | null | |
tax_contact_phone | string | null | |
tax_contact_email | string | null | |
bank_name | string | null | |
clearing_number | string | null | |
account_number | string | null | |
bankgiro | string | null | |
plusgiro | string | null | |
swish | string | null | |
iban | string | null | |
bic | string | null | |
swedbank_signer_id | string | null | |
swedbank_corporate_pay_id | string | null | |
nordea_signer_id | string | null | |
nordea_agreement_id | string | null | |
invoice_prefix | string | null | |
invoice_default_notes | string | null | |
invoice_company_name_position | string | null | |
invoice_late_fee_text | string | null | |
invoice_credit_terms_text | string | null | |
invoice_late_fee_text_en | string | null | |
invoice_credit_terms_text_en | string | null | |
invoice_email_reply_to | string | null | |
invoice_primary_color | string | null | |
invoice_accent_color | string | null | |
invoice_font_family | string | null | |
invoice_header_text | string | null | |
invoice_footer_text | string | null | |
default_voucher_series | string | null | |
sector_slug | string | null | |
self_billing_prefix | string | null | |
self_billing_acceptance_text | string | null | |
salary_vacation_year_basis | string | null | |
vat_number | string | null | |
moms_period | string | null | |
vat_filing_method | string | null | |
periodisk_sammanstallning_period | string | null | |
periodisk_sammanstallning_filing_method | string | null | |
accounting_method | string | null | |
bookkeeping_locked_through | string | null | |
ore_rounding | boolean | null | |
invoice_show_ocr | boolean | null | |
invoice_show_bankgiro | boolean | null | |
invoice_show_plusgiro | boolean | null | |
invoice_show_swish | boolean | null | |
invoice_show_payment_qr | boolean | null | |
invoice_show_logo | boolean | null | |
invoice_show_article_number | boolean | null | |
invoice_show_company_name | boolean | null | |
invoice_payment_links_enabled | boolean | null | |
send_invoice_reminders | boolean | null | |
reminder_fee_enabled | boolean | null | |
dimensions_enabled | boolean | null | |
mileage_enabled | boolean | null | |
sales_orders_enabled | boolean | null | |
quotes_enabled | boolean | null | |
proforma_enabled | boolean | null | |
recurring_invoices_enabled | boolean | null | |
self_billing_enabled | boolean | null | |
f_skatt | boolean | null | |
vat_registered | boolean | null | |
vat_taxable_base_over_40m | boolean | null | |
vat_has_eu_trade | boolean | null | |
periodisk_sammanstallning_enabled | boolean | null | |
kontrolluppgifter_enabled | boolean | null | |
rot_rut_enabled | boolean | null | |
oss_enabled | boolean | null | |
ioss_enabled | boolean | null | |
intrastat_enabled | boolean | null | |
punktskatt_enabled | boolean | null | |
fyllnadsinbetalning_enabled | boolean | null | |
pays_salaries | boolean | null | |
employer_registered | boolean | null | |
employer_seasonal | boolean | null | |
defer_invoice_booking | boolean | null | |
next_invoice_number | number | null | |
next_arrival_number | number | null | |
invoice_default_days | number | null | |
reminder_days_level_1 | number | null | |
reminder_days_level_2 | number | null | |
reminder_days_level_3 | number | null | |
reminder_fee_amount | number | null | |
reminder_interest_rate_override | number | null | |
fiscal_year_start_month | number | null | |
preliminary_tax_monthly | number | null | |
aktiekapital | number | null | |
antal_aktier | number | null | |
auto_lock_period_days | number | null | |
next_self_billing_number | number | null | |
invoice_payment_accounts | unknown (optional) | |
invoice_email_texts | unknown (optional) | |
invoice_email_cc_addresses | unknown (optional) | |
invoice_email_bcc_addresses | unknown (optional) | |
reminder_text_overrides | unknown (optional) | |
default_voucher_series_per_source_type | unknown (optional) | |
voucher_series_labels | unknown (optional) |
Example request
{
"bookkeeping_locked_through": "2026-06-30"
}
Example response
{
"data": {
"company_id": "aaaa1111-2222-4333-8444-555566667777",
"bookkeeping_locked_through": "2026-06-30",
"auto_lock_period_days": null
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}
PATCH /api/v1/companies/:companyId/settings/skattekonto-account
settings.update-skattekonto-account · scope companies:write
Choose the ledger account the skattekonto runs on: 1630, or 2012 in equity for an enskild firma.
Stores the choice. From then on booking skattekonto rows, matching them to verifikat and the skattekonto reconciliation use the new account; 2012 is added to the chart (BAS K1 name, eget kapital) when missing. Nothing in the ledger moves: posted verifikat stay on the account they were booked on, and the response says what is left on the previous account (left_on_previous) for a transfer verifikat the user books. Owner or admin only. Idempotent (mandatory Idempotency-Key). Dry-runnable.
Use when: An enskild firma keeps its skattekonto in eget kapital on 2012 (the firm shares the skattekonto with the owner), or a company moves back to 1630.
Don't use for: Moving the balance itself (book the transfer with POST /journal-entries: debit the new account and credit the old one, or the reverse), or the tax profile (PATCH /settings/tax-profile).
Pitfalls
- Only an owner or admin of the company may change settings: other members get 403 FORBIDDEN.
- 2012 is allowed for an enskild firma only; any other account, or 2012 for another legal form, is 400 SKATTEKONTO_ACCOUNT_NOT_ALLOWED with details.allowed.
- Company-authored booking templates and mapping rules that name 1630 keep 1630: review them after a change.
- left_on_previous is the old account's balance when it is not zero: the skattekonto reconciliation reads only the new account, so book the transfer.
Risk: high · Idempotent: yes · Reversible: yes · Dry-run supported: yes
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dry_run | string | no | true (any case) previews the write without committing it, like the X-Dry-Run: true header. Any other value commits. |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
account | "1630" | "2012" | yes | 1630 Avräkning för skatter och avgifter, or 2012 (enskild firma only). |
Response fields
| Name | Type | Description |
|---|---|---|
state | object | |
previous_account | "1630" | "2012" | The account in use before this call. |
left_on_previous | number | null | The previous account's balance when it is not zero (what a transfer verifikat would move), else null. |
Example request
{
"account": "2012"
}
Example response
{
"data": {
"state": {
"entity_type": "enskild_firma",
"account": "2012",
"chosen": "2012",
"choices": [
"1630",
"2012"
],
"books_suggest": "1630",
"as_of": "2026-10-26",
"balances": [
{
"account": "1630",
"balance": 1250
},
{
"account": "2012",
"balance": 0
}
]
},
"previous_account": "1630",
"left_on_previous": 1250
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}
PATCH /api/v1/companies/:companyId/settings/tax-profile
settings.update-tax-profile · scope companies:write
Change the tax and legal profile: VAT, F-skatt, employer registration, fiscal year, accounting method.
Patches the settings that decide how the books are kept and declared: VAT registration, VAT number and moms period, EU trade and periodisk sammanställning, F-skatt, preliminary tax, employer registration, fiscal year start month, accounting method (faktureringsmetoden/kontantmetoden), deferred invoice booking, share capital and the optional deadline reminders. Runs the settings page rules and, like it, regenerates the tax deadlines. Owner or admin only. Idempotent (mandatory Idempotency-Key). Dry-runnable.
Use when: The company registered or deregistered for VAT or as an employer, Skatteverket changed its moms period, the fiscal year or accounting method was changed with the authorities, or an accounting method set wrong at onboarding is corrected.
Don't use for: Invoice, contact or payment details (PATCH /settings), the bookkeeping lock (PATCH /settings/bookkeeping-lock), entity type or org number (fixed).
Pitfalls
- Only an owner or admin of the company may change settings: other members get 403 FORBIDDEN.
- Saving regenerates the system tax deadlines for this year and next; completed deadlines keep their status.
- vat_registered=true needs vat_number (SE + 12 digits) and moms_period, stored or sent.
- vat_registered=false also turns off vat_taxable_base_over_40m, vat_has_eu_trade and periodisk_sammanstallning_enabled.
- vat_taxable_base_over_40m requires moms_period=monthly; periodisk sammanställning requires VAT registration and EU trade.
- An enskild firma must keep fiscal_year_start_month=1 (BFL 3 kap.).
- aktiekapital and antal_aktier are set or cleared together.
- accounting_method=cash turns defer_invoice_booking off (deferred booking is accrual only).
- defer_invoice_booking=true: sent customer invoices and registered supplier invoices get no verifikat until they are booked with POST /invoices/{id}/book (or /invoices/bulk-book) and POST /supplier-invoices/{id}/book.
- accounting_method never changes while an open invoice has no verifikat of its own (409 ACCOUNTING_METHOD_CHANGE_OPEN_INVOICES). Otherwise it changes freely only while the current fiscal year has no posted verifikat; later it is a correction of a wrong setting: send accounting_method_correction_reason (else 409 ACCOUNTING_METHOD_CHANGE_MID_YEAR). The method governs the whole year (BFL 5 kap 2 §); a real move to bokslutsmetoden needs Skatteverket first (ML 7 kap 17 §).
Risk: high · Idempotent: yes · Reversible: yes · Dry-run supported: yes · Stage for approval: yes (?stage=true)
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
dry_run | string | no | true (any case) previews the write without committing it, like the X-Dry-Run: true header. Any other value commits. |
stage | string | no | true stages the write for approval instead of committing it: 202 with the pending operation to approve via POST /pending-operations/{id}/approve. Absent or false commits; other values are 400. A reason in the body (why you propose it, at most 500 characters) is shown to the approver as agent_reason and kept with the decision. |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
f_skatt | boolean | no | |
vat_registered | boolean | no | |
vat_number | string | null | no | |
moms_period | "monthly" | "quarterly" | "yearly" | null | no | |
vat_taxable_base_over_40m | boolean | no | |
vat_has_eu_trade | boolean | no | |
vat_filing_method | "electronic" | "paper" | no | |
periodisk_sammanstallning_enabled | boolean | no | |
periodisk_sammanstallning_period | "monthly" | "quarterly" | no | |
periodisk_sammanstallning_filing_method | "electronic" | "paper" | no | |
kontrolluppgifter_enabled | boolean | no | |
rot_rut_enabled | boolean | no | |
oss_enabled | boolean | no | |
ioss_enabled | boolean | no | |
intrastat_enabled | boolean | no | |
punktskatt_enabled | boolean | no | |
fyllnadsinbetalning_enabled | boolean | no | |
fiscal_year_start_month | number | no | |
preliminary_tax_monthly | number | null | no | |
pays_salaries | boolean | no | |
employer_registered | boolean | null | no | |
employer_seasonal | boolean | no | |
accounting_method | "accrual" | "cash" | no | |
defer_invoice_booking | boolean | no | |
aktiekapital | number | null | no | |
antal_aktier | number | null | no | |
accounting_method_correction_reason | string | no | Needed to change accounting_method in a fiscal year with posted verifikat: why the setting was wrong (a correction, recorded in the behandlingshistorik). |
Response fields
| Name | Type | Description |
|---|---|---|
company_id | string | |
entity_type | string | null | |
org_number | string | null | The company org number. For an enskild firma it is the owner's personnummer and the last four digits are masked. |
onboarding_complete | boolean | null | |
contact_person | string | null | Default "Vår referens" on new invoices (column default_our_reference). |
invoice_qr_mode | "auto" | "bank_app" | "swish" | "payment_link" | "none" | null | The one payment QR code invoice PDFs print (auto, bank_app, swish, payment_link, none). invoice_show_payment_qr is superseded by it. |
company_name | string | null | |
address_line1 | string | null | |
address_line2 | string | null | |
postal_code | string | null | |
city | string | null | |
registered_office | string | null | |
country | string | null | |
phone | string | null | |
email | string | null | |
website | string | null | |
tax_contact_name | string | null | |
tax_contact_phone | string | null | |
tax_contact_email | string | null | |
bank_name | string | null | |
clearing_number | string | null | |
account_number | string | null | |
bankgiro | string | null | |
plusgiro | string | null | |
swish | string | null | |
iban | string | null | |
bic | string | null | |
swedbank_signer_id | string | null | |
swedbank_corporate_pay_id | string | null | |
nordea_signer_id | string | null | |
nordea_agreement_id | string | null | |
invoice_prefix | string | null | |
invoice_default_notes | string | null | |
invoice_company_name_position | string | null | |
invoice_late_fee_text | string | null | |
invoice_credit_terms_text | string | null | |
invoice_late_fee_text_en | string | null | |
invoice_credit_terms_text_en | string | null | |
invoice_email_reply_to | string | null | |
invoice_primary_color | string | null | |
invoice_accent_color | string | null | |
invoice_font_family | string | null | |
invoice_header_text | string | null | |
invoice_footer_text | string | null | |
default_voucher_series | string | null | |
sector_slug | string | null | |
self_billing_prefix | string | null | |
self_billing_acceptance_text | string | null | |
salary_vacation_year_basis | string | null | |
vat_number | string | null | |
moms_period | string | null | |
vat_filing_method | string | null | |
periodisk_sammanstallning_period | string | null | |
periodisk_sammanstallning_filing_method | string | null | |
accounting_method | string | null | |
bookkeeping_locked_through | string | null | |
ore_rounding | boolean | null | |
invoice_show_ocr | boolean | null | |
invoice_show_bankgiro | boolean | null | |
invoice_show_plusgiro | boolean | null | |
invoice_show_swish | boolean | null | |
invoice_show_payment_qr | boolean | null | |
invoice_show_logo | boolean | null | |
invoice_show_article_number | boolean | null | |
invoice_show_company_name | boolean | null | |
invoice_payment_links_enabled | boolean | null | |
send_invoice_reminders | boolean | null | |
reminder_fee_enabled | boolean | null | |
dimensions_enabled | boolean | null | |
mileage_enabled | boolean | null | |
sales_orders_enabled | boolean | null | |
quotes_enabled | boolean | null | |
proforma_enabled | boolean | null | |
recurring_invoices_enabled | boolean | null | |
self_billing_enabled | boolean | null | |
f_skatt | boolean | null | |
vat_registered | boolean | null | |
vat_taxable_base_over_40m | boolean | null | |
vat_has_eu_trade | boolean | null | |
periodisk_sammanstallning_enabled | boolean | null | |
kontrolluppgifter_enabled | boolean | null | |
rot_rut_enabled | boolean | null | |
oss_enabled | boolean | null | |
ioss_enabled | boolean | null | |
intrastat_enabled | boolean | null | |
punktskatt_enabled | boolean | null | |
fyllnadsinbetalning_enabled | boolean | null | |
pays_salaries | boolean | null | |
employer_registered | boolean | null | |
employer_seasonal | boolean | null | |
defer_invoice_booking | boolean | null | |
next_invoice_number | number | null | |
next_arrival_number | number | null | |
invoice_default_days | number | null | |
reminder_days_level_1 | number | null | |
reminder_days_level_2 | number | null | |
reminder_days_level_3 | number | null | |
reminder_fee_amount | number | null | |
reminder_interest_rate_override | number | null | |
fiscal_year_start_month | number | null | |
preliminary_tax_monthly | number | null | |
aktiekapital | number | null | |
antal_aktier | number | null | |
auto_lock_period_days | number | null | |
next_self_billing_number | number | null | |
invoice_payment_accounts | unknown (optional) | |
invoice_email_texts | unknown (optional) | |
invoice_email_cc_addresses | unknown (optional) | |
invoice_email_bcc_addresses | unknown (optional) | |
reminder_text_overrides | unknown (optional) | |
default_voucher_series_per_source_type | unknown (optional) | |
voucher_series_labels | unknown (optional) | |
deadlines_regenerated | boolean | Whether this save regenerated the tax deadlines. |
Example request
{
"vat_registered": true,
"vat_number": "SE556677889901",
"moms_period": "quarterly"
}
Example response
{
"data": {
"company_id": "aaaa1111-2222-4333-8444-555566667777",
"vat_registered": true,
"vat_number": "SE556677889901",
"moms_period": "quarterly",
"deadlines_regenerated": true
},
"meta": {
"request_id": "req_...",
"api_version": "2026-05-12"
}
}