record_invoice_payment
Record a payment against an invoice by specifying type, amount, date, and channel. Optionally add notes.
Instructions
Creates new payment for specified invoice
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>",
"type": "<type>",
"amount": "<amount>",
"date": "<date>"
},
"name": "record_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | invoice ID | |
| type | Yes | type of the payment; possible values: N - normal, C - cash discount, D - rounding difference, W - write off | |
| channel | No | channel of the payment; possible values: T - bank transfer, C - cash, PP - Paypal, PF - Postfinance, CC - Credit card, PR - Payrexx, SC - Smartcommerce | |
| amount | Yes | amount of the payment | |
| date | Yes | date that payment was made | |
| notes | No | optional notes |