KHQR — unchanged historical dynamic fixture with multilingual data
The exact inherited payload uses 29 for the solo-merchant/individual profile and carries a Bakong handle, optional account information and bank name. The actual NBC guideline distinguishes corporate 30, whose child 01 is instead a merchant ID. The fixture contains currency 116, amount 10000, country KH, name/city and four additional-data children: 01 bill, 03 store, 07 terminal and 08 purpose.
Its 64 block contains two Chinese BMP characters per alternate text value. Those two characters occupy six UTF-8 bytes; the fixture’s character boundaries and CRC byte input are deliberately checked separately. Template 99 precedes final 63; the carried CRC B6A2 matches independently. The fixed dynamic expiry 1750000600000 has elapsed. Decode it as a historical worked example, not as a current valid payment.
SYNTHETIC / TRAINING ONLY. Exact inherited bytes and elapsed timestamps preserved. demo@bankalfa and other values are illustrative; no allocation, registration, ownership or absence of a real recipient was verified. Do not scan or submit as a live payment. CRC validity and a readable name are not authentication, bank acceptance or receipt. Selected actual NBC guideline/SDK comparisons do not certify the complete current provider profile or all Unicode handling.
Sources for this sample — 4 sources
- Official requirementCover v1.4, November 2020; filename says v1.3
KHQR Content Guideline ↗ — National Bank of Cambodia · Actual complete substantive 14-page content guideline; cover v1.4 November 2020 despite filename v1.3. Bakong-switch scope, both original instruction flows,29 solo/individual and 30 corporate examples; nested account versus merchant-ID meanings.
Individual versus corporate templates differ. Original figures linked only; no verified public reproduction permission.
- Official requirementv2.9, May 2025
KHQR SDK ↗ — National Bank of Cambodia · Actual SDK v2.9 dated 6 May 2025 selected PDF 14–19/45–48: individual/merchant input tables, optional/defaults and lengths; errors 35/37–51 including dynamic expiry, amount, UnionPay/USD; MD5 status description. Not all language examples read.
Other language examples not fully read; MD5 is not authentication; UPI in this document means UnionPay.
- Market practice
ts-khqr and bakong-khqr — two open implementations of Cambodia's KHQR payload ↗ — Ishin Vin and Bunseng Thoeun (open source) · Reviewed TypeScript/Python implementations and worked mappings for 62/64/99; selected implementation CRC and BMP-character boundary evidence, not complete national certification.
Implementations, not specifications. The National Bank of Cambodia publishes a KHQR implementation guideline as a public document; it was not opened and nothing here is quoted from it.
One of them supplies the worked payload this site's character-versus-byte finding rests on. That payload's checksum did not verify when computed over character code points and did verify when computed over UTF-8 bytes, while its language template declares two Chinese characters as length 02 against six bytes. So lengths are counted in characters and the checksum over bytes, in one string. That is this site's own calculation over their published value, and it reproduces. The payload carries its author's own account handle and is not reproduced here.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Unchanged exact historical payload; fixed timestamp/expiry, selected BMP count and independent CRC tests. No live lookup, altered source figure or current payable-code claim.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.