Submit Invoice To Ksef
submit_invoice_to_ksefSubmit FA(3) XML invoices directly to the Polish KSeF platform (API v2). Ensures compliance by using the required format for submission.
Instructions
Submit a FA(3) XML invoice to the KSeF platform (API v2).
KSeF API v2 requires FA(3) format for submission. Use generate_fa2_invoice only for validation or parsing; it produces FA(2) XML which KSeF v2 does not accept. FA(3) generation is tracked in roadmap-2026.md.
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": {
"xml_content": "<xml_content>"
},
"name": "submit_invoice_to_ksef"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes | ||
| session_token | No | Obtain via the challenge → authenticate → redeem flow: https://github.com/CIRFMF/ksef-docs/blob/main/uwierzytelnianie.md |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||