Guides
Short, sourced guides for treasury, payments and SAP teams who produce pain.001 files. 23 guides in 5 topics.
Start here
- How to validate a pain.001 payment fileThe four checks a pain.001 credit transfer file needs before it goes to the bank: XML, message version, ISO 20022 XSD and SEPA rules, and PASS, REVIEW, FAIL.
- What is pain.001? The ISO 20022 credit transfer initiation messagepain.001 is the ISO 20022 message a company sends its bank to initiate credit transfers: its three levels, versions .03 and .09, SEPA use and validation.
- pain.001.001.09 XML example for a SEPA credit transferA complete pain.001.001.09 SEPA credit transfer file that passes the ISO 20022 XSD and the EPC rules, explained element by element. Download it or validate it.
Errors and rejections
- pain.001 XSD validation errors and how to fix themWhat cvc-complex-type.2.4.a, cvc-pattern-valid, cvc-maxLength-valid and other XSD errors mean in a pain.001 file, with failing and corrected XML for each.
- Validate a pain.001 against the XSD on your own machineCheck a pain.001 against the ISO 20022 XSD with xmllint, Python lxml or Java, read the errors, and see why a schema-valid file can still fail SEPA rules.
- Why banks reject pain.001 filesThe most common reasons a pain.001 file fails at the bank, from broken XML to SEPA charge bearer, IBAN and name-length violations, and where to fix each one.
- pain.002 status and reason codes for pain.001 filesWhat ACTC, ACCP and RJCT mean in a pain.002, which reason codes (FF01, AC01, AM05, RC01…) a pain.001 file causes, and which can be caught before upload.
SEPA Credit Transfer rules
- SEPA Credit Transfer rules for pain.001.001.09Every SEPA Credit Transfer rule BankLint checks in pain.001.001.09, grouped by topic, with the EPC132-08 implementation-guideline section each one is based on.
- Charge bearer SLEV in SEPA credit transfersWhy a SEPA credit transfer in pain.001 must use charge bearer SLEV, why SHAR, DEBT and CRED fail, and where ChrgBr should be placed.
- Control sum (CtrlSum) and number of transactions (NbOfTxs) in pain.001Which pain.001 control totals SEPA makes mandatory, how many decimals they may have, and what happens when control sums and transaction counts do not match.
- IBAN and BIC in a SEPA pain.001IBAN and BIC rules in a SEPA pain.001.001.09: IBAN-only accounts, debtor agent BICFI or NOTPROVIDED, optional creditor agent BIC, XSD patterns, check digits.
- Which countries are in SEPA? IBAN country codes for SEPA credit transfersSEPA countries and territories with the IBAN country codes they use (EPC409-09 v8.0), the non-EEA SEPA countries, and what BankLint checks in a pain.001.
- Structured, hybrid and unstructured addresses in SEPA pain.001The SEPA rules for postal addresses in pain.001.001.09: structured, hybrid and unstructured forms, town and country, two address lines, and the deadline status.
- Remittance information in a SEPA pain.001 (Ustrd, Strd, RF)SEPA rules for remittance information in pain.001.001.09: one Ustrd of 140 characters or one Strd, never both, creditor reference type SCOR and ISO 11649 RF.
- SEPA character set, names and identifiersThe SEPA Latin character set, the 70-character name limit and the slash rules for MsgId, PmtInfId and EndToEndId in pain.001 credit transfer files.
Formats, versions and file set-up
- pain.001.001.03 vs pain.001.001.09: what changed and how to migrateSchema differences between pain.001.001.03 and pain.001.001.09: namespace, BICFI, AnyBIC, ReqdExctnDt, LEI, UETR, postal address, plus a migration checklist.
- pain.001 references: MsgId, PmtInfId, InstrId, EndToEndId and UETRThe five identifiers in a pain.001: what MsgId, PmtInfId, InstrId, EndToEndId and UETR identify, who sees them, uniqueness and the SEPA character rules.
- Batch booking in pain.001: one debit or one per paymentWhat BtchBookg true, false or absent means in a SEPA pain.001, how it changes the bank statement, and why a changed value after an ERP update matters.
- SEPA and non-SEPA payments in one pain.001 fileHow one pain.001 can mix SEPA and other payments in separate payment information blocks, how the service level marks each block, and how BankLint checks it.
- Ultimate debtor and ultimate creditor in pain.001 (payments on behalf of)InitgPty, Dbtr, UltmtDbtr and UltmtCdtr in pain.001: where each sits, the SEPA 70-character name limit, the identification rules and a valid XML example.
- Verification of Payee and bulk payment filesWhat Verification of Payee means for companies sending pain.001 files: the EU rules and dates, the match results, the opt-out for bulk files and name data.
Testing and go-live
- Testing payment files before going live with a bankChecklist for testing pain.001 files before a new bank, payment method or ERP goes live: which test files to prepare, what to check first, what to keep.
- Payment-file regression testing after SAP or TMS changesHow to tell whether an SAP, TMS or middleware change altered your payment files: compare each new pain.001 with a bank-accepted baseline, not line by line.