receiptable: true on a transaction, OpenCard tries to match it against merchant digital receipt networks.
What you receive
Three separate webhooks, in any order:| Event | Contains |
|---|---|
receipt.fetched | PDF/image URL (expires — download it!) |
transaction.true.vat | Correct VAT breakdown from merchant |
transaction.line.items | Individual purchase items |
Receipt URL handling
- Download immediately when webhook arrives
- Store in your system
- Don’t hotlink — URLs expire
When no receipt comes
Not all merchants are in the receipt network. Ifreceiptable: true but no receipt.fetched within reasonable time → no match found. Your users can still upload photo receipts via your UI or use Receipt Scanner.
