Receipt

Show your receipts: a claim printed at the top of a till receipt, then the evidence as numbered receipt lines with a source per line (linked when a URL is given), a dashed tear line, a CONFIDENCE total, a barcode derived deterministically from the claim, and a perforated bottom edge. Built for the "no unsourced stats" rule and for AG-UI-style runs where evidence arrives one tool result at a time: resend the FULL items list on every update and only the LAST line prints in (same stateless rule as agent_sketchpad). Always paper-white, so it reads as an object on any ground. Capped at 24 items.

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-appspdfandroidslidespptx
Degraded on
SurfaceNote
google-chatRenders as a plain text card; typographic weighting and animation are lost
Live preview
EVIDENCE RECEIPT
1
(no evidence yet)
CONFIDENCE0 ITEMS
Sources listed. No unsourced stats.
Fields
FieldTypeRequired
claimstring (required). Printed in display type at the top.required
itemsarray of {text, source?, url?}. Evidence lines in order; source is a short label, url must be http(s). Strings are accepted.optional
totalnumber. Confidence 0-1 shown as the receipt total; when absent the item count is shown.optional
total_labelstring. Default "CONFIDENCE".optional
merchantstring. Top label. Default "EVIDENCE RECEIPT".optional
issuedstring. Date or context line under the merchant.optional
footerstring. Default "Sources listed. No unsourced stats."optional
accent"#rrggbb". Links and total colour. Default "#4338ca".optional
print_lastbool. Animate the last line printing in. Default true.optional
Example payload
{
  "type": "receipt",
  "claim": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:receipt",
  "displayName": "Receipt",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/receipt",
  "capabilities": [
    "web",
    "google-meet-stage",
    "google-apps-script-web",
    "mcp-apps",
    "pdf",
    "android",
    "slides",
    "pptx"
  ],
  "description": "Show your receipts: a claim printed at the top of a till receipt, then the evidence as numbered receipt lines with a source per line (linked when a URL is given), a dashed tear line, a CONFIDENCE total, a barcode derived deterministically from the claim, and a perforated bottom edge. Built for the \"no unsourced stats\" rule and for AG-UI-style runs where evidence arrives one tool result at a time: resend the FULL items list on every update and only the LAST line prints in (same stateless rule as agent_sketchpad). Always paper-white, so it reads as an object on any ground. Capped at 24 items.",
  "representativeQueries": [
    "show a claim plus numbered, sourced evidence lines printed as a till receipt; newest line prints in",
    "show your receipts: a claim printed at the top of a till receipt, then the evidence as numbered rece",
    "render a receipt"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →