Registrar pagamento de fatura
add_invoice_paymentRecord a credit card invoice payment, split the amount across people, and optionally set the source account. Requires confirm: true; without it, returns the proposed payload.
Instructions
Registra o pagamento de uma fatura de cartão, com rateio por pessoa e conta de origem opcional. Exige confirm: true para executar; sem isso devolve o payload proposto.
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": {
"cardId": "<cardId>",
"period": "<period>",
"paidAt": "<paidAt>",
"allocations": "<allocations>"
},
"name": "add_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | ||
| paidAt | Yes | ||
| period | Yes | Período da fatura (YYYY-MM). | |
| confirm | No | ||
| accountId | No | ||
| allocations | Yes |