Create e-invoice
create_einvoiceCreates an XRechnung (CII or UBL XML) or a ZUGFeRD PDF/A-3 from invoice data following EN 16931; totals and VAT are recomputed and must match, and the result passes the official validator. The document is returned as embedded resource on its own (application/xml as text, application/pdf as Base64 blob), the metadata as structured content. Charged per document from the account credit. Nothing is stored.
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": {
"invoice": "<invoice>",
"syntax": "<syntax>"
},
"name": "create_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| syntax | Yes | Output: cii or ubl (XRechnung XML) or zugferd (PDF/A-3 with embedded CII). | |
| invoice | Yes | Invoice data following EN 16931 (XRechnung). Totals and VAT are recomputed and must match. | |
| profile | No | Only for zugferd: en16931 (default, factur-x.xml) or xrechnung (xrechnung.xml). |