Export invoice to Pohoda XML
export_invoice_pohodaExport an issued invoice as a Pohoda XML import file (windows-1250, XSD-validated) written next to the invoice PDF, so an accountant can import it directly into Pohoda accounting software.
Instructions
Export one issued invoice as a Pohoda XML import file (windows-1250, validated against the Pohoda XSD), for an accountant who uses the Pohoda accounting software.
Writes faktura_.pohoda.xml next to the invoice PDF and overwrites it on repeat, so calling again is safe. No network. Fails for unknown numbers, credit notes (not supported), reverse-charge invoices without eu_classification, VAT rates other than 21/12/0, item texts too long for Pohoda or characters not representable in windows-1250. Returns the file path and the Pohoda import menu path. Not needed for the built-in reports (export_vat_return, export_book).
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": {
"number": "<number>"
},
"name": "export_invoice_pohoda"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Issued invoice number from the ledger, e.g. '2610001'. | |
| eu_classification | No | Pohoda VAT classification code (Nastavení → Členění DPH) for an EU service. Required when the invoice is reverse charge, ignored otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |