Requires Pain001 v0.0.58 or later. Earlier versions do not carry the API shown on this page. Check what you have with pain001 --version, and see the releases page for what is published.
pain.001.001.09 (2019) is the version CBPR+ selected for customer credit transfer initiation on the SWIFT network, and the mandated replacement for the interbank MT101 relay from 14 November 2026. It is Pain001's default recommendation for any new cross-border integration, and the target shape of the MT101 loader.
What to know about this version#
- Financial institutions are identified with
<BICFI>(renamed from v03's<BIC>). - The 2019 party and account structures add richer identification — including LEI — and proxy account support.
- Structured and hybrid postal addresses meet the 14 November 2026 CBPR+ address requirement; Pain001 emits both.
- UETR carriage supports end-to-end tracking through the correspondent chain.
Element structure (all versions share this skeleton)#
<GrpHdr>Group Header — message id, creation timestamp,NbOfTxs,CtrlSum, initiating party. Pain001 recomputes the control totals from validated records.<PmtInf>Payment Information — debtor, debtor account and agent, requested execution date, payment method, charge bearer; one block can carry many transactions.<CdtTrfTxInf>Credit Transfer Transaction — amount and currency, creditor, creditor account and agent, remittance information, end-to-end reference.
Generate and inspect#
pain001 init pain.001.001.09 -o work/ # scaffold a starter CSV
pain001 inspect pain.001.001.09 # list required + optional fields
pain001 -t pain.001.001.09 -d payments.csv -o out/ --dry-run
Records can be reshaped between supported versions. The mapper renames and defaults fields to match the target version; elements the target does not model are not carried over, so re-validate after migrating:
from pain001.migration import VersionMapper
rows = VersionMapper().migrate_rows(
rows, "pain.001.001.09", "pain.001.001.12"
)
See the full version catalogue, or the glossary for the vocabulary used here.