render_invoice_html
Converts ZATCA invoice XML into a styled HTML document with embedded QR code for browser viewing or printing.
Instructions
Render a ZATCA invoice XML as a professional HTML document.
Takes a UBL 2.1 XML invoice (as generated by generate_invoice) and produces a styled HTML page with embedded QR code image, ready for viewing in a browser or printing.
Args: invoice_xml: Complete UBL 2.1 XML invoice string
Returns: Complete HTML document string with embedded styles and QR code image
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_xml": "<invoice_xml>"
},
"name": "render_invoice_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_xml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |