Version 5.0.0

August 20, 2026

Initial release.

Added

  • Completed Craft Commerce orders become Fortnox customer invoices, on order completion, on an order status change (Pro), or on request.
  • Öresavrundning handling. Knox models Fortnox's own arithmetic before sending, predicts what the company's öresutjämning setting will do and says so in plain words, closes its own rounding residual with an explicit VAT-free row against 3740, and re-checks the total Fortnox returns after every create.
  • Reconciliation guard. An invoice that does not add up to what the customer was charged is refused rather than sent, with both figures on it.
  • Swedish VAT resolved per order — domestic, EU reverse charge, EU consumer with or without One Stop Shop, and export — with the reasoning stored on the invoice and shown in the control panel.
  • BAS account mapping per sales bucket, validated against Fortnox's own chart from the settings screen.
  • OAuth 2.0 connection with rotating refresh tokens, mutex-guarded so two workers cannot race a rotation into a dead connection, and a 45-day expiry countdown in the control panel.
  • Never repeats a create whose outcome is unknown. knox/sync/reconcile resolves it by looking the invoice up by the order reference Knox stamps on every one.
  • Fortnox customers created and reused per buyer (Pro), which is also what makes reverse-charged and export invoices possible — Fortnox keeps the VAT type on the customer, not the invoice.
  • Bookkeeping with a financial-year pre-check (Pro), so the most common January failure in every Fortnox integration arrives as a sentence rather than an opaque error.
  • Payments in both directions (Pro): register the checkout payment in Fortnox, and poll Fortnox for invoices paid there.
  • Credit invoices on refund (Pro), full by Fortnox's own credit action.
  • Article matching by SKU, verified before use (Pro).
  • Customer-facing invoice downloads, served from Fortnox on demand (Pro).
  • Connection log with Fortnox's own error codes, and request/response bodies on Pro.
  • Console commands for connection status, token refresh, rounding detection, per-order and bulk invoicing with dry runs, reconciliation, payment polling and log maintenance.
  • craft.knox Twig variable — read-only.