Record the payment
purch_record_bill_paymentRecord that a bill was paid, after the fact: the day it went, how, and the statement row that shows it when there is one. Only after the person paid it, and only with the day it actually went. An agent records payments for approved bills only; a person recording one approves it in the same act. Link the statement row (transaction_id) when the payment is on an imported statement: the amount and currency must match and it must be money out. An unreviewed row is reviewed as the bill says (purchase, its category and vendor), because the bill is the person's word for what it was. Effects: bill marked paid; statement row linked and reviewed when given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | How it was paid. | |
| bill_id | Yes | The bill, e.g. B-0001. | |
| paid_at | Yes | The day it was paid. ISO date, YYYY-MM-DD. | |
| reference | No | The bank's or the vendor's reference, if any. | |
| transaction_id | No | The statement row that shows the payment, e.g. T-0042. |