Automation and agents Required
Put the facts of a receipt in text
Every receipt and confirmation states its key facts as plain text. That covers who, what, when, how much and the reference number.
How to do it
Write the facts as short labelled lines in the plain text part, and the same in the HTML. Never put them only in an image. People search for them, and assistants and accounting tools read them.
Example
Order: 1042
Date: 3 November 2026
Total: EUR 49.00
Paid with: card ending 4242
How to check
Read the plain text part of a test receipt. It contains the order number, the total with its currency and the date.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers email playbook: https://agentwranglers.se/playbook/email/automation-and-agents/readable-receipts.