Record manual payment
record_manual_paymentRecord an offline payment and apply it to invoices. Use for bank transfers, cash, or checks; omit invoice assignments to leave unapplied credit.
Instructions
Record an offline payment (bank transfer, cash, check) and apply it to invoices. Wraps Transactions.add then Transactions.apply. Does not charge anything; it only records money already received. Omit apply_to to leave the amount as unapplied credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| message | No | Free-text note stored on the transaction | |
| apply_to | No | Invoices to apply the payment to; total must not exceed amount | |
| currency | Yes | ||
| client_id | Yes | ||
| reference | No | Bank reference / check number | |
| date_received | No | ISO 8601 with timezone; default now |