Collect payment
collect_paymentRecord a payment against an invoice by specifying series and number. Use a payment method like Chitanta or Card; amount and date default to full remaining balance.
Instructions
Record a payment (incasare) against an existing invoice, identified by series name and number. The collect object specifies the payment method (Chitanta, Ordin de plata, Card, etc.) and optionally the amount and date; when no value is given the full remaining invoice amount is collected. Applies to invoices only.
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": {
"seriesName": "<seriesName>",
"number": "<number>",
"collect": "<collect>"
},
"name": "collect_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Invoice number. | |
| collect | Yes | A payment collection. | |
| seriesName | Yes | Invoice series name. |