anaf_declaration_status
Check the processing status of an ANAF declaration by upload index and taxpayer CUI/CNP, returning accepted, validation-error, processing, or unknown state and the recipisa PDF URL when available.
Instructions
Processing status of a declaration filed on the ANAF e-guvernare portal (after agent_submit_declaration_pdf or any upload that returned an index): ANAF's public StareD112 by upload index and the taxpayer's CUI/CNP. States: ok (accepted), nok (validation errors, see recipisa), processing, unknown (not indexed yet). Storno asks the three StareD112 hosts in turn (www.anaf.ro, stare.anaf.ro, epatrim.anaf.ro), so an outage of one does not hide the state. Returns the recipisa PDF URL when available. Public, no account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | CUI or CNP the declaration was filed for | |
| index | Yes | Upload index returned by the portal, or the registration number from the counter (with ghiseu: true) | |
| ghiseu | No | true when the number is the registration number given at the ANAF counter, not an online upload index |