Refund a deposit
deposit_refundGive part or all of a held deposit back to the client, with the date and how it was sent. Refuses more than is still held. The invoice server is not touched: a refund is not a payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Deposit id such as DEP-2026-0001, or an exact client name | |
| date | No | YYYY-MM-DD, the day the money went back. Defaults to today | |
| note | No | Free text kept on the refund row | |
| method | No | How it was sent, e.g. "bank transfer to the account it came from". Printed on the statement | |
| amount_minor | No | How much to give back, in minor units. Defaults to everything still held |