Render a Romanian e-Factura XML as PDF
efactura_to_pdfRenders a valid e-Factura XML as PDF using ANAF's public transformation service (no ANAF account). Returns the PDF as a base64 resource. The XML must pass validation. Costs 1 credit; not billed on errors.
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": "<xml>"
},
"name": "efactura_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO) |