declarations_submit
Submit a draft or validated declaration to ANAF by generating XML, uploading it to ANAF SPV, and initiating async status polling. Provide the declaration UUID to start the submission process.
Instructions
Submit a declaration to ANAF. Generates XML, uploads to ANAF SPV, and begins async status polling. Works on "draft" or "validated" declarations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to submit | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |