create_invoice_payment
Register a payment for an invoice with its ID and amount. Optionally include date, bank account, or payment service to complete the record.
Instructions
Create 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>",
"value": "<value>"
},
"name": "create_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| value | Yes | ||
| invoice_id | Yes | the id of the invoice | |
| bank_account_id | No | References a [bank account object](#operation/ListBankAccounts) | |
| payment_service_id | No | | value | description | |-----|------| | 1 | PayPal | | 2 | Stripe | | 3 | SIX Payments | |