Record invoice payment
hiveage_record_paymentWRITE: enter a payment received on an invoice (changes its paid and due totals). Offline payments (cash, check, bank_transfer) are saved as unrealized until marked realized. Hiveage: POST /invs/{hash_key}/payments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date received, YYYY-MM-DD. | |
| amount | Yes | Payment amount, for example 10.00. | |
| details | No | Payment description. | |
| hash_key | Yes | The hash_key of the invoice (a short string such as "bCbFYNj3RFM2uQ"), not its numeric id. | |
| payment_method | Yes | How the invoice was paid. |