Statement import: ABN AMRO's TXT/TAB download

It has no header row, so nothing came in. Recognize its eight columns, and take
the other party's name out of ABN's coded text (/NAME/, card payments, Naam:).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MangaValkandClaude Opus 5.5 committed 2026-11-19 16:40:42 +01:00
1 parent 0232766260
commit 33a8a237ea
4 files changed
+42 -3

No files matched your search

+16
View File
@@ -156,3 +156,19 @@ console.log("statement ok");
`, "nl-NL");
assert.deepEqual(brief(c.rows), [["2026-11-14", 42.17, "Albert Heijn 1234"], ["2026-11-13", -2500, "Werkgever BV"], ["2026-11-12", 13.99, "Netflix"]]);
}
// ABN AMRO TXT/TAB download: no header, tab separated, signed amounts, coded descriptions.
{
const c = csv([
"123456789\tEUR\t20261114\t2000,00\t1957,83\t20261114\t-42,17\tBEA, Apple Pay ALBERT HEIJN 1234,PAS123 NR:ABC123, 14.11.26/18:02 AMSTERDAM",
"123456789\tEUR\t20261113\t-500,00\t2000,00\t20261113\t2500,00\t/TRTP/SEPA OVERBOEKING/IBAN/NL00RABO0123456789/BIC/RABONL2U/NAME/Werkgever BV/REMI/Salaris november/EREF/NOTPROVIDED",
"123456789\tEUR\t20261112\t-486,01\t-500,00\t20261112\t-13,99\tSEPA Incasso algemeen doorlopend Incassant: NL00ZZZ000000000000 Naam: Netflix International B.V. Machtiging: 123 Omschrijving: Netflix",
"123456789\tEUR\t20261111\t-436,01\t-486,01\t20261111\t-50,00\tGEA NR:XX123 11.11.26/10.15 ABN AMRO BANK NV,PAS123",
].join("\n") + "\n", "nl-NL");
assert.deepEqual(brief(c.rows), [
["2026-11-14", 42.17, "ALBERT HEIJN 1234"],
["2026-11-13", -2500, "Werkgever BV"],
["2026-11-12", 13.99, "Netflix International B.V."],
["2026-11-11", 50, "ABN AMRO BANK NV"],
]);
}