agent_submit_declaration_pdf
Sign and submit a declaration PDF to ANAF's e-guvernare portal, then retrieve the upload index to track its status.
Instructions
File a declaration PDF (made by DUKIntegrator, XML embedded, e.g. from Storno's declarations or a C168/D212 built with the public tools) at ANAF: the local agent signs it with the certificate and uploads it to the e-guvernare declarations portal (WAS6DUS), then returns ANAF's upload index. Track it with anaf_declaration_status (index + CUI/CNP); the recipisa arrives in the SPV inbox and on StareD112. Requires the PIN (pin, STORNO_AGENT_PIN, or the PIN remembered on this computer by the agent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | ||
| file | Yes | Path to the DUK-generated PDF | |
| fileName | No | Name sent to ANAF (default: the file name) | |
| certificateId | Yes |