Link a refund
purch_link_refundTie money back to the purchase it reverses. It takes back that much of the purchase's spending, in its category; it is not income. Read purch_refunds: money in that looks like money back from the same shop. Show the person and link with a reason. A refund is never more than what is left of the purchase after earlier refunds. Money back for something not on record stays income. Effects: refund row tied to its purchase; the purchase's spending reduced by it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why they belong together: "returned the chair". | |
| refund_transaction_id | Yes | The money-in row. An existing purch_transaction id. | |
| purchase_transaction_id | Yes | The purchase it reverses. An existing purch_transaction id. |