xlsx_receipt
Attach a cryptographic receipt to a .xlsx file, embedding attestation of the AI agent, timestamp, and inputs for verifiable provenance.
Instructions
Attach an AI-generation receipt to a LOCAL .xlsx file — a cryptographic attestation embedded in docProps/custom.xml that says "this file was generated by THIS agent, at THIS time, against THESE inputs." Returns the receipted workbook as base64 in _meta.file_b64; pass out_path to write to disk.
Honesty boundary (load-bearing): the server signs the CALLER-DECLARED agent.name — it does NOT verify the caller actually IS that agent. The signature proves "this server signed these strings at this time," not "this came from claude-sonnet-4-6." Caller is responsible for honest declaration. Cryptographic identity binding is v1.1+ scope.
USE WHEN: an AI agent generates a workbook and the recipient wants verifiable provenance — "what produced this file, when, against what." Or chaining attestations across a multi-step pipeline.
DO NOT USE WHEN: the workbook was human-authored (use xlsx_stamp — Stamp attests to check results, Receipt attests to generation context).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| covers_sheets | No | ||
| description | No | ||
| file_b64 | No | ||
| inputs | No | ||
| workbook_handle | No |