Pain001 Pain001

Swiss domestic credit transfer settling a QR-bill (QRR reference).

A payment initiation file for Switzerland on the domestic-credit-transfer rail, shipped in pain.001.001.03, pain.001.001.09, generated and checked by pain001 0.0.70. It is a synthetic example built from the public scheme rulebooks: no real party, account or bank guideline behind it.

Files#

The twin is the same payment in the ISO 20022 Registration Authority's JSON convention, lossless in both directions; its JSON Schema (2020-12) is published per edition: pain.001.001.03, pain.001.001.09. An agent can produce a twin that validates against the schema and hand it to the library to render the XML.

Run it in your browser#

Open this scenario in the demo: the pain001 library loads in a Python runtime in your browser, rebuilds the file from the 1 record(s) below, checks it against the ch-domestic rulebook and the official XSD, and shows the JSON twin. Nothing leaves your machine.

The flat records the library rebuilds it from (the CSV pipeline's own column names):

id,date,nb_of_txs,ctrl_sum,initiator_name,payment_information_id,payment_method,batch_booking,service_level_code,requested_execution_date,debtor_name,debtor_account_IBAN,debtor_agent_BIC,charge_bearer,payment_id,payment_amount,currency,creditor_agent_BIC,creditor_name,creditor_account_IBAN,initiator_postal_code,initiator_town_name,initiator_country_code,initiator_address_line,initiator_id,debtor_postal_code,debtor_town_name,debtor_country_code,debtor_address_line,debtor_id,creditor_postal_code,creditor_town_name,creditor_country_code,creditor_address_line,creditor_reference,creditor_reference_type,initiator_id_scheme_proprietary,debtor_id_scheme_proprietary,additional_remittance_information,payment_currency
AFM-20260921-01,2026-09-21T08:30:00,1,3488.55,Alpina Feinmechanik AG,AFM-D-260921-01,TRF,false,NURG,2026-09-22,Alpina Feinmechanik AG,CH7827307265471511330,WEUVCH20,SLEV,AFM-2026-0921-001,3488.55,CHF,TRIDCHS0,Werkzeugbau Muster GmbH,CH7430000001234567891,8952,Schlieren,CH,Industriestrasse 14,CHE-123.456.789,8952,Schlieren,CH,Industriestrasse 14,CHE-123.456.789,6003,Luzern,CH,Bahnhofstrasse 7,210000000003139471430009017,QRR,UID,UID,Rechnung 2026-1187,CHF

How the library checked it#

  • Official XSD: passed.
  • ISO message definition rules: passed.
  • Rail profile ch-domestic: passed.
  • Rail profile anti-duplicate: passed.

Confidence derived: built from the public rulebook or implementation guide; no published sample was available to compare.

Where the content comes from#

  • SIX, Swiss Payment Standards, Implementation Guidelines for Customer-to-Bank Messages, Credit Transfer (pain.001), SPS 2025 v2.2, payment type D (read 2026-09-10)
  • SIX, Swiss Implementation Guidelines QR-bill v2.3: QR reference and QR-IBAN (read 2026-09-10)

SHA-256 of each file is in its provenance record. Your bank's own usage guideline is not represented here: apply it privately with the library's overlay tooling.

Back to the example corpus · All payment files by country