Guides · Testing and go-live · By Tan Gravam · Updated 2026-10-20
Payment-file regression testing after SAP or TMS changes
Payment-file regression testing compares a new payment file with one the bank already accepted and reports configuration-level differences, such as a changed charge bearer, service level, message version or address mode, while ignoring ordinary differences like other payees, amounts or counts.
Why a raw XML diff does not work
Two payment runs never contain the same payments. A line-by-line diff of two pain.001 files is full of different names, amounts, references and counts, so a real configuration change is easy to miss.
Compare facts, not lines
BankLint extracts semantic facts from each file: which codes are used (payment method, service level, charge bearer), how accounts and agents are identified, how addresses are structured, whether control sums are present, which message version and encoding are used, and which elements appear. It compares these facts with the facts of the bank-accepted baseline.
| Kind of fact | Example | Default when it changes |
|---|---|---|
| Configuration | Charge bearer, service level, debtor address mode | REVIEW |
| Structure | Message version, encoding, elements present | REVIEW |
| Control | Control sum present | REVIEW |
| Payment mix | Currencies or remittance styles used by the payees | INFO |
| Volatile | Number of transactions, identifier shapes | EXPECTED |
Names, IBANs, amounts and references are never stored or compared. Only facts from closed code lists and structural modes are kept.
Everything BankLint compares
Each fact has a default level: REVIEW puts the run on review until you accept or ignore the change, INFO is shown without affecting the result, and EXPECTED changes from run to run and raises nothing. In a Flow you can protect a fact, so that a change to it fails the run.
| Fact | When it changes | Typical cause |
|---|---|---|
Message version (.03, .09) | REVIEW | Format switched in the ERP or by the bank |
| Declared XML encoding | REVIEW | Export or middleware setting |
| Namespace prefix style | INFO | Different XML writer |
| Element paths used, and how many payments use each | REVIEW | Format mapping change, support package |
| Control sums present and matching (group header, payment information); NbOfTxs matching | REVIEW | Totals logic in the export |
Payment method; batch booking (BtchBookg) | REVIEW | Payment method or house bank configuration |
Where payment type information is given; service level; local instrument (for example INST); category purpose; instruction priority | REVIEW | Payment method configuration |
| Execution date as date or date-time | REVIEW | Format mapping change |
| Debtor account, debtor agent, debtor address form and debtor identification; initiating party identification; ultimate debtor | REVIEW | Company code, house bank or format mapping |
| Charge bearer code, and the level where it is given | REVIEW | Payment method configuration |
End-to-end ID given or NOTPROVIDED; UETR given | REVIEW | Reference generation in the ERP |
| Instructed or equivalent amount | REVIEW | Foreign-currency handling in the export |
| Debtor account currency given | INFO | Bank master data |
| Creditor address forms | INFO; REVIEW when every payee switches from one form to another | Vendor master data or address mapping |
| Currencies; how creditor agents and accounts are identified; creditor identification; ultimate creditor; purpose codes; remittance form; structured reference types; regulatory reporting; character classes in text | INFO | The payees and invoices in this run |
| Number of payment information blocks and transactions; message ID and end-to-end ID shapes | EXPECTED | Every run is different |
How it works in BankLint
You can try it with the synthetic accepted file and the changed-configuration file: the second one changes the debtor address mode and is reported for review. The accepted file is explained element by element in the pain.001 XML example.
The free plan includes one Flow with a baseline and history; the paid plan adds more Flows (plans).
- Create a Flow for one payment route, for example "SAP company code 1000 → house bank, SEPA".
- Validate a file the bank accepted and make it the baseline.
- After every configuration change, validate the new file in the same Flow.
- Read the result: changes to review, and blocking changes if you protected a fact.
- Ignore a value change you intended (with a reason), or make the new file the next baseline once the bank accepts it: the changes are accepted in one step. A change in the element paths cannot be ignored; it is accepted with a new baseline.
Questions
Does a batch-booking or UETR change get flagged?
Yes. Batch booking, UETR given, local instrument, category purpose and the other payment-type settings are configuration facts: a change puts the run on review until you accept or ignore it.
Does BankLint store my payment files for the comparison?
No. The baseline is a set of sanitized facts taken from the accepted run. The file itself is never stored, so you upload each new file again.
Will a different set of payees raise a review?
No. Facts that change with the payment population default to INFO or EXPECTED. REVIEW is reserved for strong configuration signals.
Sources: EPC132-08 2025 Version 1.0 (European Payments Council) and the ISO 20022 message schemas. All sources and dates: Standards and sources.
Validate a pain.001 fileFree, no account needed, files are not stored.