Record invoice payment
crunch_add_invoice_paymentRecord a full or partial customer payment against an issued invoice to track receivables; this does not reconcile the matching bank statement entry.
Instructions
Record a payment received from a customer against an issued invoice (full or part payment). This records the payment but doesn't reconcile the matching bank statement entry. Existing payments are kept.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_id": "<invoice_id>",
"date": "<date>",
"amount": "<amount>"
},
"name": "crunch_add_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date the customer paid (YYYY-MM-DD) | |
| amount | Yes | Amount received, for example 120.00 | |
| dry_run | No | Preview: return the request that would be sent (for an update, the fields that would change) without sending it | |
| invoice_id | Yes | Invoice ID (see crunch_list_invoices) | |
| payment_method | No | Payment method name (default EFT; see crunch_list_payment_methods for=invoices) | |
| bank_account_id | No | Bank account the money went into (defaults to the invoice's bank account) |