bankproductsTest Tools

ISO 20022

Validate pain.001 against the Swiss XSD and pretty-print it, build structured / hybrid postal addresses for CBPR+, SIC and the QR-bill, generate UETRs and SHA-256 fingerprints.

Test data · no production data Client-side only · validator runs as WebAssembly in your browser

Validate ISO 20022 XML against the Swiss XSDPaste a pain.001.001.09.ch.03 document. Well-formedness via DOMParser, schema validation via libxml2 (xmllint-wasm), then a highlighted pretty-print.

validator: idle
First click loads the validator — xmllint-wasm (~800 KB WASM + ~30 KB JS) is fetched from jsdelivr on demand and cached by your browser. Subsequent validations are instant and work offline. The XSD (pain.001.001.09.ch.03.xsd, ~73 KB) is fetched from this site and cached in memory for the session. Note: the pristine SIX XSD uses an XSD 1.1 char-class subtraction that libxml2 can't compile; the validator runs against a .libxml2.xsd variant with that one pattern relaxed (control-char exclusion dropped). All structural checks are unchanged.

Creditor / Ultimate-Creditor addressBuild and validate the <PstlAdr> block for CBPR+ / SWIFT MX (pacs.008, pain.001), SIC RTGS and the Swiss QR-bill. Hybrid addresses are allowed since SR November 2025; fully unstructured addresses are rejected in CBPR+ for value dates from 14 Nov 2026 and in SIC from the 20 Nov 2026 release. The QR-bill accepts only structured addresses (type S) since 22 Nov 2025 (IG v2.3 — the old combined type K is rejected).

The two demo buttons fill the same fields from a Swiss and a Chinese address, which is where structured addressing gets awkward: BldgNb precedes StrtNm in the Chinese reading order (969 West Wen Yi Road), PstCd is 6 digits rather than 4, and the district (Yuhang) is an administrative level with no slot here at all — in ISO 20022 it belongs in <DstrctNm>, never folded into StrtNm or TwnNm.

UETRUnique End-to-end Transaction Reference — a UUIDv4 used by SWIFT gpi and ISO 20022 (CBPR+) to correlate a payment across all participating institutions. Lowercase, 36 characters including hyphens.

SHA-256 hashUTF-8 → SHA-256 → hex. Useful for payment-message fingerprinting: sha256(MT103) for idempotency keys, file digests, and the like.