Render an e-invoice as HTML
render_invoiceRender an XML e-invoice (UBL or CII, e.g. XRechnung) as a readable HTML page.
invowerk uses the KoSIT XRechnung visualization. Use it to show a person what an e-invoice contains.
Input: invoice_base64 is the base64 of the XML, at most 4 MB decoded, or pass
the file as a download link in file. PDFs are not accepted. lang sets the
label language, "de" (default) or "en".
Returns html (a complete HTML document), lang, flavor (e.g.
"xrechnung") and syntax (e.g. "ubl_invoice"). A file that is not an XML
invoice, malformed XML or XML with a DOCTYPE fails with an error message.
Credits: 1 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The file as a download link, instead of `invoice_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL. | |
| lang | No | Language of the labels: "de" (default) or "en". | de |
| invoice_base64 | No | The invoice file, base64-encoded. At most 4 MB decoded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||