pay_invoice
Marks an invoice as paid in Fakturia, using the current date and full outstanding amount by default; optionally set the payment date and amount.
Instructions
Mark an invoice as paid in Fakturia. Optionally specify the payment date and amount. If no pay date is provided, the current date is used. If no amount is provided, the full outstanding amount is assumed.
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": {
"invoiceNumber": "<invoiceNumber>"
},
"name": "pay_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payDate | No | The date when payment was received in YYYY-MM-DD format. Defaults to the current date if not specified. | |
| payAmount | No | The amount paid. If not specified, the full outstanding invoice amount is used. | |
| invoiceNumber | Yes | The unique invoice number identifying the invoice to mark as paid. |