← All guides · Published 14 November 2026 · Reviewed 14 November 2026 · By the Ingenious AI team
How Are Sensitive Identifiers Stored on Agent Receipts?
The short answer
Hashed identifier storage is Agentic Receipts' rule for sensitive identifiers on receipts: the full value is never stored. Never in plaintext: an identifier is kept only as its SHA-256 hash plus a masked last-four display — and that hash sits inside the receipt's own seal. Seal the approval before the agent acts with the free receipt issuer, and check any record on the public verify page.
What is hashed identifier storage?
Hashed identifier storage is Agentic Receipts' rule for sensitive identifiers on receipts: the full value is never stored. Only its SHA-256 hash and a masked display of the last four characters are kept, and both the hash and the mask are fields in the receipt's canonical set — covered by the receipt's own tamper-evident seal.
The record underneath is always an Agentic Receipt, and its shape never changes with the job: approver, agent name, agent version and agent operator, the action in plain language, the amount in cents and its currency, the declared scope (up to 50 allowed actions), and an optional expiry. It is sealed into the per-owner SHA-256 hash-chained ledger before the agent acts — the chain starts from a GENESIS entry at index 0 — and later life (co-signs, use confirmations, revocations) is appended as new chained entries, never edits.
Why does it matter?
Receipts are designed to travel — into exports, dispute packs, counterparties' files. Any plaintext secret placed in them would travel too, accumulating in inboxes and binders beyond anyone's control. Yet authorizations often must bind to an identifier: this account, this policy, this reference. Hashing resolves the contradiction the way password storage does: the system keeps enough to verify a value forever, and nothing that can be turned back into the value itself.
The approval patterns that feed a receipt — direct issue, email request-and-approve, quorum and counterparty co-sign — are compared in Who Approved That Agent Action?
How does Agentic Receipts handle it?
At sealing, the identifier is hashed with SHA-256 and the mask (last four characters) is derived for display; the input value is then discarded — it never touches the database. The hash and mask join the canonical JSON whose digest seals the receipt and chains it to the ledger. Later verification uses the match check: a candidate value is hashed and compared, answering Match or No Match. Because the identifier's hash is inside the receipt's hash, an attacker with database access cannot swap which account a receipt refers to without breaking the chain for the entire ledger.
The sealing mechanics underneath every receipt — canonical fields, sorted-key JSON, and a hash chained to the previous entry — are explained step by step in Hash-Chained Ledgers for Agent Actions, Explained, and the receipt's own fields are catalogued in What Is an Agent Receipt?
The five-point checklist
- Use the identifier field — never the description — for sensitive values
- Confirm the masked display shows the expected last four
- Let exports travel: there is no plaintext in them to leak
- Answer confirmation requests with the match check
- Keep the source value in your own vault, nowhere else
A worked example
Anise authorizes its agent to submit insurer documentation tied to a clinic account identifier. The receipt stores the identifier hashed, displayed as •••9026. The export travels to the insurer inside a dispute pack — the full number is simply not in the file to leak. Six months later the insurer's audit asks Anise to confirm the submissions referenced the correct account; the match check answers Match against the number from Anise's own vault. At no point in the receipt's whole life — database, export, counterparty file — did the full identifier exist outside Anise's own systems.
Anise Health Clinics, a fictional clinic group is a fictional example written for this guide; the amounts and names are illustrative, and the receipt behaviour described is the platform's real behaviour.
What are the common mistakes?
The plaintext-in-description mistake remains the big one: operators paste the account number into the action text 'so it's all together', defeating the field's design in one keystroke. Saving the number in a note attached to the account undoes it too. And masking discipline matters on the human side — the last-four display exists for recognition, so quoting it in emails as if it were the identifier trains counterparties to accept partial proof.
If a live authorization needs to stop or change while you fix them, the mechanics are covered in Revoking an Agent Receipt and Replacing a Corrected Agent Receipt; a receipt's portable, checkable form is covered in Portable Receipts, Explained.
Related guides
How Do You Stop Scope Creep in Agent Authorizations?
How Do You Authorize an Agent to Pay Freelancers?
How Do You Control Subscriptions an Agent Signs Up For?
Browse all Agentic Receipts guides · Portable receipts · Ingenious AI
Put it into practice
The practical first step is small on purpose: seal one real approval with the free issuer (one guest receipt a day, no account), check it on the public verify page the way a counterparty would, and let that single end-to-end experience set your team's standard. Pro ($29/month) adds the approval flows, co-sign, exports and dispute packs when the habit outgrows the free tier; Team ($79/month) adds seats, quorum and the shared ledger.
Normalization: the unglamorous step that makes hashes match
Anise's identifier displays as •••9026 and is stored as a SHA-256 digest, but the step that decides whether a later match check works happens before hashing: normalization. The value is stripped of spaces and dashes and upper-cased, so "ab-9026", "AB 9026" and "AB9026" — the same account reference typed three ways by three systems — hash identically. Without that step, the one-way storage would be perfect and useless: the right identifier, entered in the wrong format, would answer No Match forever, and users would route around the field within a week.
The masked display is the human half of the same design. Last four is enough for an operator to confirm they sealed the right value, and useless to anyone who finds the export. That is why exports can travel — to the insurer, inside a dispute pack, across a client's security review — without a redaction pass: there is no plaintext in them to leak. Keep your side of the bargain. The source value belongs in your own vault; the moment it is also sitting in a spreadsheet "for reference", the hashing was decoration.
Sources
- NIST FIPS 180-4, Secure Hash Standard (SHS) — the 2015 specification of SHA-256, the hash every receipt seal and chain link is computed with.
- Regulation (EU) 2016/679 (General Data Protection Regulation) — the EU's 2016 data-protection regulation, including its data-minimisation principle.
- How Agentic Receipts works — Agentic Receipts' own documentation of the receipt engine, the SHA-256 hash-chained ledger, verification and dispute export (documentation current as of 2026).
Frequently asked questions
Can the platform recover my identifier if I lose it?
No — by design. The value is hashed at sealing and never stored; the platform can confirm a candidate (Match or No Match) but cannot produce the original. Keep it in your own records.
Is the masked display safe to show?
It shows only the last four characters, for human recognition — the same convention payment cards use. The verify and receipt views can display the mask without exposing the value.
Why include the hash in the receipt's seal?
So the binding itself is tamper-evident: replacing the stored hash to point the receipt at a different account would change the canonical fields, break the receipt's hash, and break the chain at that entry.
What kinds of identifiers fit this field?
Any sensitive reference an authorization must bind to — an account number, a policy reference, a case id — where later confirmation matters but disclosure would be harmful. Non-sensitive references belong in the action description or downstream reference instead.