Refresh KSeF status
refresh_ksef_statusAsks KSeF (the Polish national e-invoicing system) for the current status of an invoice sent to it and saves it: accepted with its KSeF number, rejected, or still being processed. Nothing is sent to KSeF.
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": "refresh_ksef_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The id of the company, from list_companies. | |
| invoice_id | Yes | The id of the invoice sent to KSeF, from list_invoices. |