Download Invoice XML
get_sale_invoice_xmlRetrieve the machine-readable e-invoice XML for a sales invoice to support structured Estonian e-arve exchange or archival instead of the human-readable PDF.
Instructions
Download the system-generated machine-readable e-invoice XML (base64) for a sales invoice. This is the structured Estonian e-arve document used for e-invoice exchange/archival — distinct from get_sale_invoice_document (the human-readable PDF).
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": {
"id": "<id>"
},
"name": "get_sale_invoice_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Object ID |