Santander N43 import
Import Banco Santander statements in Norma 43 format, matched to your transactions.
Why it exists
Spanish banks still hand you statements as Norma 43 files, and generic importers mangle their reference fields. This mod imports N43 natively, matches movements against the transactions you already recorded, and queues the ambiguous ones for review instead of guessing.
Duplicates are impossible by construction: importing the same statement twice changes nothing, and every match can be undone. Rules learned from your corrections stay in your instance.
What it does
- Imports Norma 43 statement files from Santander
- Matches movements to transactions by amount, date and payer
- Queues ambiguous movements for review, never guesses
- Undo for any match, with an audit trail of corrections
The spec
These acceptance criteria were written with the person who requested the mod, then locked in as its tests. The mod has to pass them on every new release train before it rides along.
- Every movement in the statement ends up matched, queued or explicitly ignored
- A duplicate import of the same N43 file changes nothing
- Partial payments accumulate against the original transaction instead of mismatching
mods/santander-n43/tests/IdempotentImportTest.php
public function test_reimporting_a_statement_is_a_noop(): void
{
$this->importStatement("fixtures/enero.n43");
$before = Ledger::snapshot();
$this->importStatement("fixtures/enero.n43");
assertEquals($before, Ledger::snapshot());
}