Skip to content
vantacorehqPublic

About

pacs.008 and pain.001 in Java. Minor units, IBAN check digits, control sums. No network.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mxmsg

mxmsg

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.

What it does not do

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.

IBAN

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.

Run

make test

make test prints mxmsg: 74 checks passed.

License

MIT.

About

pacs.008 and pain.001 in Java. Minor units, IBAN check digits, control sums. No network.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages