Set invoice payment status
set_invoice_payment_statusMarks an issued document as paid and/or sent on a date, or removes the mark with null. Only the given marks change. This only records the status in EnKonto; nothing is sent to the customer.
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": {
"company_id": "<company_id>",
"invoice_id": "<invoice_id>"
},
"name": "set_invoice_payment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paid_at | No | The day the document was paid, YYYY-MM-DD, not after today; null: not paid. | |
| sent_at | No | The day the document was sent to the customer, YYYY-MM-DD, not after today; null: not sent. | |
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the issued document, from list_invoices. |