What this demo shows, and what the real pipeline adds
Each sample batch is also downloadable as a CSV file to use as the template for your own ERP or spreadsheet export. The header row is the contract.
The demo above runs the pain001 library itself, not an imitation of it: required-field checks, ISO 13616 mod-97 IBAN checksums, ISO 9362 BIC structure, amount and date formats, control totals (NbOfTxs, CtrlSum) recomputed from the records rather than trusted, the scheme rulebook you choose, and the official XSD gate. Try the "Introduce an error…" menu. Each scenario plants exactly one realistic flaw (a flipped IBAN digit, a malformed BIC, a missing column, a European comma-decimal amount, an impossible date) and shows you the row-level finding a bank's gateway would otherwise report days later.
The installed toolchain adds what a browser tab cannot: files of any size; input from Excel, SQLite, JSON, Parquet and SWIFT MT101; all 29 scheme profiles, including direct debits and purpose-code mandates (the demo offers 16), with rule-by-rule --explain output; and every supported edition, eleven pain.001 versions and two pain.008 versions (.02 and .08).
pip install pain001 pain001 -t pain.001.001.09 -d payments.csv -o out/ --scheme sepa-sct --dry-run Step 3 re-runs the schema gate on its own, so you can edit the XML above and check it again: xmlschema against the official pain.001.001.09 schema, served from this site. It is the same class of XSD gate the CLI applies.
