declarations_download_xml
Download a tax declaration's generated XML by declaration UUID, optionally overriding the company ID, to retrieve raw XML content for e-Factura or ANAF processing.
Instructions
Download the generated XML for a tax declaration. Returns the raw XML content.
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": "declarations_download_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |