export_efactura_xml
Generate and return the UBL 2.1 XML for an invoice in e-Factura format with all the e-Factura properties stored on the invoice, without the PDF copy a submission may embed. Does NOT submit to ANAF. For an invoice ANAF has already accepted this is a fresh rendering, not the copy ANAF signed (see get_efactura_archive).
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_id": "<invoice_id>"
},
"name": "export_efactura_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | Invoice ID |