Match receipt
purch_match_receiptTie a receipt to one transaction, with a reason. Refused when the total does not fit. One receipt, one transaction (P-7). Refused when the receipt total is not the row's amount or the dates are more than seven days apart — unless you pass override with a reason that says why (a split payment, a tip added at the till). Effects: receipt matched to transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this row — part of the record. | |
| override | No | The total or date does not fit and the reason explains why. | |
| receipt_id | Yes | The receipt, e.g. R-0003. | |
| transaction_id | Yes | The row it belongs to. |