declarations_submit
Submits draft or validated declarations to ANAF by generating XML, uploading it to SPV, and starting async status polling.
Instructions
Submit a declaration to ANAF. Generates XML, uploads to ANAF SPV, and begins async status polling. Works on "draft" or "validated" declarations.
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_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to submit | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |