create_invoice_payment_by_invoice_id
Create a payment for an invoice by providing the invoice ID and payment amount. Optionally include currency, date, and payment method.
Instructions
Create a payment.
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>",
"amount": "<amount>"
},
"name": "create_invoice_payment_by_invoice_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | ID of the payment | |
| amount | Yes | A number representing the total amount of the invoice. | |
| currency | No | The currency used for the payment. | |
| date | No | Date on which the payment was created. | |
| payment_method_id | No | Identifier of the payment method. |