Appearance
0022: Attaching evidence to Xero records is in scope; receipt capture is not
Context
docs/not-doing.md lists "Bookkeeping entry or receipt capture: Xero does it". The Product Owner asked (2026-09-29) for invoices and receipts to be attachable, because VAT reclaimed without a valid invoice can't be evidenced to HMRC. SPEC-005 plans it.
Decision
Accepted by the Product Owner on 2026-09-30 (QD-20):
- Attaching a file the owner provides to an existing Xero record is in scope (SPEC-005). It adds evidence; it enters nothing into the books.
- Receipt capture stays out: GetMy Books does not create bills or spends from a receipt or read figures from it into Xero. Figures the language model reads from a receipt are search terms only, never written.
- Files are passed through to Xero, not kept: web uploads are deleted once attached or after 24 hours. Superseded by ADR 0031 (2026-10-01): files arrive in Xero's Files inbox, and GetMy Books holds none.
docs/not-doing.mdchanges its row to "Receipt capture (creating records from receipts)", pointing here.
Consequences
- The Xero app requests
accounting.attachments; each entity reconnects once. - Superseded by ADR 0031: the web upload page is a new entry point in
src/web/, behind Access and the per-person check, and needs the data protection ADR from the queue before it holds any file.
Amended 2026-10-30 by ADR 0044
Point 2 stands: nothing from a receipt's figures is written to Xero. ADR 0044 decision 5 adds that code may read a receipt received by email to search and flag: the supplier, date, total and VAT it parses are search terms and sense checks shown to the owner, never book entries. The file is the evidence; the owner's Approve attaches it.