Saftlint
Rule

Referenced tax code exists

VAT mappings · ledger.line.tax-code.exists · error

Transaction tax codes must resolve when TaxTable is present.

How to investigate

  1. Open the XML path reported in the finding.
  2. Compare the referenced values and relevant master data or aggregate.
  3. Re-export after correcting the source data or exporter logic.
  4. Run the same pinned ruleset again.

Source basis

Norwegian SAF-T Financial data — Documentation — Documentation pp. 34–35; XSD RefGLTransactionLineTaxCode. Reviewed 2026-08-10.

Open source ↗