Eliminar pago
cs_delete_paymentDeletes a payment that was recorded in error on an invoice, requiring write access to be enabled. Use it to correct invoice payment records.
Instructions
Elimina un pago registrado por error en una factura. Requiere escritura activada.
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": {
"invoiceId": "<invoiceId>",
"paymentId": "<paymentId>"
},
"name": "cs_delete_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | ||
| paymentId | Yes | Id del pago (cs_list_payments) |