TOPIC 16/2614 MINNOT STARTED

National QR profiles: shared structure, different payment rules

A readable code and matching checksum do not prove merchant identity, acceptance or settlement. Apply the actual national profile.

L1–L4 are part of the Pro pass

L0 Explain simply

A QR code carries data. It is not itself a , proof of a merchant's identity or evidence that money moved. means the merchant displays a code; consumer-presented mode reverses who displays and scans it.

An international standard supplies a common structure. A national profile selects fields and rules for its market. The service still determines who can pay, how the instruction is authorised and how settlement happens.

A checksum such as CRC (cyclic redundancy check) helps detect damaged or mistyped data. It is not a and does not prove was issued by the intended merchant.

Before paying, the customer must still check the app's resolved destination and amount. A technically readable counterfeit sticker can direct a valid payment to the wrong destination.

PLAIN WORDS · 5 in this section
cyclic
repeating in a loop
redundancy
a second copy doing the same job
mistyped
typed wrongly by mistake
readable
able to be read and understood, by people or software
counterfeit
fake, made to look genuine in order to deceive

PICTURE IT

A common envelope with country-specific inserts

Several postal systems use a common envelope structure. Inside, each country places its own labelled inserts. A reader can recognise the envelope and check that its text was not corrupted without understanding every insert or knowing the sender is trustworthy.

THE REAL JOB A shared QR structure does not make national fields, app acceptance or settlement identical; Parse the selected profile, validate its semantics and distinguish checksum from authorisation.

  1. The payee shows a code and the payer's phone reads it
  2. The shared opening, currency, country and checksum look the same
  3. The reader scans the whole reserved range of numbered blocks
  4. It decides what each block is from what sits inside it
  5. Only then does it use the payee details
From a scanned code to the payee details

HOW THE PICTURE MAPS

How each part of the picture matches the payment
In the pictureIn the payment
Common envelopeIdentifier/length/value structure
Country-specific insertsNational scheme templates and child fields
Transcription checkCRC, not merchant authentication or payment completion

WHERE THIS PICTURE STOPS

  • Length and encoding rules are profile-specific; a character count is not universally the same as a UTF-8 byte count.
  • PayNet v1.5 uses national format 02, Thai Annex 1 distinguishes 29/30/31 and KHQR individual/corporate fields differ. One library default cannot certify all of them.
  • A matching CRC can include a semantically wrong field. It is not a signature or proof that money moved.

HOOK

Check the envelope, the national insert and the payment result separately.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

Parse the field hierarchy under the selected national profile, check its CRC scope, then establish payment completion independently.

What each part of the trick stands for
In the trickWhat it stands for
Common envelopeIdentifier/length/value structure
Country-specific insertsNational scheme templates and child fields
Transcription checkCRC, not merchant authentication or payment completion

Length and encoding rules are profile-specific; a character count is not universally the same as a UTF-8 byte count.

TELL A FRIEND

A shared QR structure does not make national fields, app acceptance or settlement identical. Parse the selected profile, validate its semantics and distinguish checksum from authorisation.

OFTEN MIXED UP WITH Reading a file format you did not design. The national profiles share structural ideas while fields, scheme permissions and payment-processing rules differ.

Sources & standards — 2 sources
  1. Scheme-specific ruleEffective 17 April 2019

    Thai QR Code Payment Standard ↗ — Bank of Thailand · National merchant/consumer-presented distinctions

    Actual sections 4.3/4.4/5 and complete Annex 1 pp.1–12 read; transfer/bill/innovation profiles, identifiers, references and name lookup. · Checked 2026-11-06

    34-page source; Annex 2 introduction only. Character versus byte interpretation remains profile-specific.

  2. Scheme-specific rulev1.5

    DuitNow QR merchant-presented QR generation specification ↗ — PayNet · Merchant-presented profile

    Actual full overview/data-object pages read: national format 02, initiation, AID/acquirer/QRID, amounts, additional data, CRC and optional integrity. · Checked 2026-11-06

    Do not import generic format 01 or universal two-decimal requirement. Provider onboarding table does not certify all live providers.

SEE THE PAYMENT MOVE

PICTURE THE JOURNEY

A telephone exchange with an adaptor plug, and the central counting houseOpen to read the picture, how it matches the payment and where it stops.

PICTURE IT

A telephone exchange with an adaptor plug, and the central counting house

Picture a hill town where people keep their savings at one of two savings houses. Riya saves at one house, and Arjun saves at the other.

One telephone exchange serves the town, and the two houses run it together. The exchange keeps no one's savings, and it does not move any between the houses. Its sockets are a newer, wider shape. Riya's house still has an older, narrower plug with fewer pins. A small adaptor on the socket makes the plug fit.

Riya wants to give Arjun a gift. She knows only his telephone number. She gives her house the number and the amount. The house plugs its request into the exchange through the adaptor. Then the operator looks the number up in the number book. The book lists each number with the house and the account behind it. It names Arjun's house and his account.

Only now does Riya's house take the amount from her savings. It waits until the number has been found.

The exchange still has not moved any savings. Arjun's house adds the amount to his savings, and he can spend it almost as soon as Riya sent it.

The final move happens later at the central counting house, where the head clerk keeps one account for each savings house. The exchange adds up what each house owes and is owed. It passes the net totals to the clerk, who moves each total between the house accounts.

One story ends early. If the number is not in the number book, the operator finds no household. Riya's house tells her the number was not found. Nothing was taken from her, and the counting house never hears of it. She can check the number with Arjun, or use his account number instead. (SYNTHETIC / TRAINING ONLY: Riya and Arjun are invented.)

THE REAL JOB PromptPay lets Riya pay Arjun by mobile number: a finds the account, and the settles net totals later.

HOW THE PICTURE MAPS

How each part of the picture matches the payment
In the pictureIn the payment
Riya, who knows only a telephone numberThe payer, who types a mobile number and no account numberWho: Riya
Riya's savings house, with its older plugBank Alfa, the payer's bank, which still sends older ISO 8583 messagesWho: Bank Alfa
The telephone exchange the two houses run togetherNational ITMX, the clearing house owned by Thai commercial banks
The adaptor on the exchange's newer socketThe adaptor that turns ISO 8583 into the clearing house's newer message form
The number bookThe proxy database, which resolves a mobile number to a bank and account
The operator finds the number in the bookThe proxy resolves to Arjun's account at Nordbank
Riya's house takes the amount only after the number is foundBank Alfa debits Riya after the proxy has resolved, not beforeWho: Bank Alfa
Arjun's house adds the amount to his savingsNordbank, the payee's bank, credits Arjun's accountWho: Nordbank
Arjun, who can spend it almost as soon as it was sentThe payee, who sees the money arrive soon after Riya sends itWho: Arjun
The central counting house and its head clerkBAHTNET, the Bank of Thailand's real-time gross settlement system
One account for each savings houseEach bank's settlement account at the Bank of Thailand
Later the clerk moves each house's net totalNet settlement: banks' net positions go to BAHTNET, the Bank of Thailand's system
The number is missing from the number bookPROXYNOTFOUND: this flow's code for a number not registered to any account
Riya's house tells her, and nothing was takenRiya is told the number was not found; nothing is debited and nothing settles

WHERE THIS PICTURE STOPS

  • The counting house looks like a safe full of coins. The real final move is a debit and a credit in the banks' own accounts at the Bank of Thailand. It is central bank money. Why a settled payment counts as final comes from the settlement system's rules and the law, which a picture cannot show. Final does not mean value can never go back. A later return would be a new payment, and this flow does not draw one.
  • The picture says Arjun can spend the gift almost as soon as Riya sends it. The flow quotes no timing for the settlement, and neither do its sources. Do not read the picture as a promise of any speed.
  • The adaptor in the picture only makes the plug fit. It does not show what a real adaptor keeps or drops. A newer message form can hold detail that an older form has no place for. The sources behind this flow do not say whether any is lost.
  • A telephone operator connects a call and stays on the line. The clearing house does not hold a line open. It answers the lookup and passes the payment on, and settlement happens in a separate system.
  • The picture follows one kind of address and one kind of failure. PromptPay can also resolve a national identity number or a tax identity number, and a payer can use a QR (Quick Response) code. None of that is drawn.
  • The order shown, lookup before debit, is this site's teaching journey. The sources name the clearing house, adaptor and settlement system. They give no bank-by-bank order. PROXYNOTFOUND is this flow's label, not a confirmed scheme code.

HOOK

Look up, then debit; the central bank settles net totals later.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

Ask which part finds the account and which settles the money: the proxy database finds it; BAHTNET settles it.

What each part of the trick stands for
In the trickWhat it stands for
proxy databaseresolves a mobile number to a bank and account
BAHTNETthe Bank of Thailand's real-time gross settlement system

TELL A FRIEND

PromptPay's translates Bank Alfa's older message and finds the account behind the mobile number. Bank Alfa debits Riya only after that, and Nordbank credits Arjun; later the Bank of Thailand's own system settles the banks' net totals.

OFTEN MIXED UP WITH Clearing versus settlement. That topic separates clearing, which prepares payments and routes them, from settlement, which moves the money. This flow shows one Thai payment where two different bodies do the two jobs, with the net totals settled later.

MESSAGES INVOLVED

PRACTISE AND KEEP

IMPLEMENTATION RESOURCES

12 RESOURCES

EVIDENCE AT ARM'S REACH

Apply the base message definition first, then the scheme or infrastructure profile that governs this topic.

An XSD checks XML structure. A usage guideline adds profile rules, conditional fields, code restrictions, and business controls. XSD-valid does not mean scheme-compliant.

Teaching sampleIllustrative; no scheme profile checked

PromptPay QR — unchanged synthetic mobile-target teaching payload — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

DuitNow QR — unchanged legacy-format training counterexample — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

QRIS — unchanged synthetic decoding fixture — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

VIETQR — unchanged synthetic decoding fixture — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

QR-PH — unchanged synthetic decoding fixture — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

KHQR — unchanged historical dynamic fixture with multilingual data — raw TLV

PRO PASS
Field matrixIllustrative; no scheme profile checked

PromptPay QR field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

DuitNow QR field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

QRIS field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

VietQR field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

QR Ph field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

KHQR field matrix

PRO PASS
Sources for this topic — 5 sources
  1. Scheme-specific ruleEffective 17 April 2019

    Thai QR Code Payment Standard ↗ — Bank of Thailand · Annex 1 profiles 29/30/31

    Actual sections 4.3/4.4/5 and complete Annex 1 pp.1–12 read; transfer/bill/innovation profiles, identifiers, references and name lookup. · Checked 2026-11-06

    34-page source; Annex 2 introduction only. Character versus byte interpretation remains profile-specific.

  2. Scheme-specific rulev1.5

    DuitNow QR merchant-presented QR generation specification ↗ — PayNet · CRC and field validation

    Actual full overview/data-object pages read: national format 02, initiation, AID/acquirer/QRID, amounts, additional data, CRC and optional integrity. · Checked 2026-11-06

    Do not import generic format 01 or universal two-decimal requirement. Provider onboarding table does not certify all live providers.

  3. Scheme-specific ruleCover v1.4, November 2020; filename says v1.3

    KHQR Content Guideline ↗ — National Bank of Cambodia · Individual versus corporate templates

    Entire substantive 14-page text read; original PDF5/printed03 visually inspected for two flows. · Checked 2026-11-06

    Individual versus corporate templates differ. Original figures linked only; no verified public reproduction permission.

  4. Scheme-specific rulev2.9, May 2025

    KHQR SDK ↗ — National Bank of Cambodia · SDK v2.9 validation

    Actual tables/errors on PDF pp.14–19/45–48 read; individual/merchant fields and dynamic expiry. · Checked 2026-11-06

    Other language examples not fully read; MD5 is not authentication; UPI in this document means UnionPay.

  5. Scheme-specific rule

    EMV QR Code Specification for Payment Systems: Merchant-Presented Mode (QRCPS-MPM) ↗ — EMVCo · Publication/FAQ scope only; full technical PDF not read

    The international standard the Brazilian BR Code instantiates: an identifier-length-value payload a merchant presents and a customer scans, with a reserved range of Merchant Account Information templates so one code can carry several payment arrangements. Distinct from the EMV chip-card and 3-D Secure specifications, which have their own registry entries. · Checked 2026-08-04

    Not opened: emvco.com could not be reached. Verification relied on web-search result content and on an open-source implementation of the specification whose element schema is cited separately. No length published on this site is quoted from EMVCo's pages.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.