What we automate between accounting and banks
Outgoing payments: the pain.001 credit transfer file your accounting system exports, checked, corrected and converted to the version and usage rules of your bank, then uploaded or sent over SFTP with PGP encryption.
Incoming responses: pain.002 payment status reports, matched back to the payments they answer, and bank statements (camt.053 or MT940) collected for reconciliation.
Documents: statements, invoices and receipts retrieved from portals and inboxes, read, matched and filed in the accounting system with the entry posted.
What is a pain.001 file?
pain.001 is the ISO 20022 XML message a company sends its bank to start credit transfers. One file carries a batch of payments: who pays, who is paid, the IBANs, the amounts and the execution date. Accounting and ERP systems such as Twinfield and Xledger export it, and the finance team uploads it to the bank or sends it over SFTP.
The bank checks the file against the ISO schema (XSD) and against its own usage guidelines before it pays. A file that fails either check is rejected as a whole or payment by payment.
pain.001.001.03 and pain.001.001.09
pain.001.001.03 is the 2009 version of the message, and it is still what most accounting systems export. pain.001.001.09 is the 2019 version, which the European Payments Council adopted for SEPA in November 2023. It adds structured address elements, the LEI and a few other fields, and some elements move or change name.
Converting is not a find-and-replace on the namespace. The group header, the execution date format, the address and the bank-specific identifiers all change, and every bank publishes its own rules on top of the standard.
Structured, hybrid and unstructured addresses
An unstructured address is free text: “Unit 4, Quay Road, Dublin 2” in one or two AdrLine elements, plus the country. From November 2026 this form is rejected.
A structured address uses separate elements only: street (StrtNm), building number, post code, town (TwnNm), country (Ctry). A hybrid address keeps up to two AdrLine elements, but the town and the country must be there as separate elements. Hybrid is the practical route for files exported from an accounting system, because the street can stay as it was typed.