Pain001 Pain001

Malaysia DuitNow credit in MYR with a BNM purpose code.

A payment initiation file for MY on the instant-payment 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 anti-duplicate 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_agent_BIC,charge_bearer,payment_id,payment_amount,currency,creditor_agent_BIC,creditor_name,remittance_information,initiator_postal_code,initiator_town_name,initiator_country_code,initiator_address_line,debtor_postal_code,debtor_town_name,debtor_country_code,debtor_address_line,debtor_account_number,debtor_account_scheme,debtor_account_currency,creditor_postal_code,creditor_town_name,creditor_country_code,creditor_account_number,creditor_account_scheme,purpose_code,payment_currency
SPP-20260921-01,2026-09-21T09:30:00,1,18750.00,Selangor Palm Products Sdn Bhd,SPP-DN-260921-01,TRF,false,URGP,2026-09-21,Selangor Palm Products Sdn Bhd,EFYIMYS0,SHAR,SPP-2026-0921-001,18750.00,MYR,KILXMYT0,Penang Machinery Trading,INV PMT-2026-0331,50450,Kuala Lumpur,MY,160 Jalan Ampang,50450,Kuala Lumpur,MY,160 Jalan Ampang,12345678901234,BBAN,MYR,10450,George Town,MY,98765432109876,BBAN,GDDS,MYR

How the library checked it#

  • Official XSD: passed.
  • ISO message definition rules: passed.
  • Rail profile my-duitnow: passed.
  • Rail profile purpose-mandate-my: passed.
  • Rail profile anti-duplicate: passed.

Confidence assumed: one detail rests on an assumption the record names; treat that detail with care.

Where the content comes from#

  • PayNet, DuitNow developer documentation (public) (read 2026-09-11)
  • Bank Negara Malaysia purpose-code lists as published by Malaysian banks (read 2026-09-11)

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