Get RO e-Factura XML
get_efactura_xmlThe RO e-Factura XML (UBL 2.1, CIUS-RO 1.0.1) for one of the seller's invoices, or the list of missing data to fix first. validate=true also runs ANAF's public validator on the XML. Billify does not upload to SPV here: the seller uploads the file (or exports a period from the Accounting page).
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": "get_efactura_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validate | No | also check the XML with ANAF's validator | |
| invoice_id | Yes |