← Back to Receipt Spec

Verify Receipt Integrity

Prove the authenticity of any Tranzia decision receipt offline.

Why Verify?

  • Tamper Evidence: Cryptographic proof that the decision record hasn't been altered.
  • Vendor Independence: Verification relies on standard algorithms (SHA-256), not Tranzia servers.
  • Audit Defense: Prove to insurers or auditors that you acted on specific intelligence at a specific time.

1. Download the Verifier

We provide a lightweight, open-source Python script to verify receipts. It has zero external dependencies beyond standard Python libraries.

2. Run Verification

# Open your terminal

$ python tranzia-verify.py your-receipt.json


# Expected Output:

Claimed Hash: e3b0c442...

Computed Hash: e3b0c442...

✅ VERIFICATION PASSED: Receipt integrity confirmed.

Technical Details

The verification process involves zeroing out the integrity.canonical_receipt_hash field, canonicalizing the JSON (UTF-8, sorted keys, strict separators), and computing a SHA-256 digest.

See the full canonicalization spec in our docs.