pacs.008.001.08 and pain.001.001.09 in Java. Amounts are minor units. An IBAN with a bad check digit is rejected. A control sum that does not match the payments is rejected.
JDK 17. No dependencies and no network.
Cross-border payment instructions on Swift have been ISO 20022 since 22 November 2025. Translation of the old MT messages is a paid contingency since 1 January 2026. The removal of unstructured postal addresses, which had been set for 14 November 2026, was deferred by Swift on 27 August 2026. This codec still refuses an address that is only free-text lines. Town and country are required.
It does not open a Swift session, hold a key, or validate a message against the full CBPR+ schema. One currency per message. In pacs.008, every transaction in the message has the same instructing agent and the same instructed agent. pain.001 is version .001.09: the requested execution date is ReqdExctnDt/Dt.
ISO 13616, mod 97 remainder 1. Spaces are ignored and letters are folded to upper case. Supported lengths: AT BE BG CH CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV NL NO PL PT RO SA SE SI SK UA.
make testmake test prints mxmsg: 74 checks passed.
MIT.