Postzegelcode

How Postzegelcode Works and Edge Cases

  • Users buy a 9-character alphanumeric code online, write it on the envelope instead of a physical stamp.
  • Codes are valid for 5 days and can be redeemed once; after first scan at a sorting facility the code is invalidated.
  • If reused, later letters are treated as unpaid:
    • Some comments say receiver must pay or gets a payment request.
    • Others report letters are simply returned to sender marked “insufficient postage.”
    • With a return address, Dutch PostNL can send a payment proposal or just return the letter; practices seem to differ over time and by case.
  • If sender is unknown, the recipient can be billed but can appeal.

Fraud, Reuse, and System Robustness

  • Sharing codes: only the first piece of mail is accepted; subsequent uses are unpaid mail and may trigger bills or service refusal.
  • Hypothetical race condition where two letters with the same code are scanned simultaneously is considered extremely unlikely; queues, multiple scans, or manual investigation would handle it.
  • Sending with the destination as “return address” to get free delivery is mitigated because the service knows the purchase origin and expected area.
  • Reusing unstamped German QR stamps can lead to fines; considered postal fraud.

Handwriting, OCR, and Error Handling

  • System relies on clearly written 9-character codes; illegible codes are kicked out to human review like unreadable addresses.
  • If a match can’t be found, it’s processed as unpaid mail.
  • Character set avoids zero to reduce confusion with “O,” but other ambiguities (1/L, G/6, B/8) remain; some argue motivation and conventions make most of them manageable.
  • PostNL already OCRs addresses and prints machine-readable barcodes on all mail.

User Experience, Adoption, and Alternatives

  • Many infrequent mail senders praise the convenience: no need to store stamps or visit a shop; avoids issues with rate changes and obsolete value-denominated stamps.
  • Others prefer traditional stamps for their aesthetics and tactile “ritual,” viewing Postzegelcode as a soulless, purely machine-oriented optimization.
  • Similar digital stamp systems exist or are mentioned in Germany, Sweden, Norway, Denmark, Switzerland, and Ireland; some use SMS or mobile apps and have varying validity periods and pricing.

System Design and Architecture Debate

  • Thread explores using Postzegelcode as an interview design problem: single-use, expiring codes with generate/redeem endpoints.
  • Suggested implementations range from minimal (single file, PRNG state) to SQLite, Redis, or full databases.
  • Debate centers on simplicity vs. robustness, concurrency, expiration handling, and the risks of over-centralized, brittle logistics systems.