Saftlint
Rule

Referenced ledger account exists

Master data and references · ledger.line.account.exists · error

A line AccountID must resolve when GeneralLedgerAccounts 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 — XSD RefTransactionLineAccount. Reviewed 2026-08-10.

Open source ↗