record_invoice_payment
Record a manual payment against an invoice (cash, bank transfer, cheque, card terminal). Updates invoice status to PARTIAL or PAID based on the running total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note about this payment | |
| amount | Yes | Payment amount as decimal string, e.g. "100.00" | |
| method | Yes | Payment method | |
| invoiceId | Yes | Invoice ID to record payment against | |
| reference | No | External reference (cheque number, bank transfer ID) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |