declarations_upload
Import XML or ANAF PDF declarations created in SAGA, DUKIntegrator, or the ANAF form into Storno, so the original document can be validated and filed without regeneration.
Instructions
Bring a declaration made in another program into Storno: an XML file, or the ANAF PDF produced by SAGA / DUKIntegrator / the filled ANAF form (Storno reads the XML embedded in it). Type, year and month come from the document. The uploaded document is what gets validated (declarations_validate) and filed (declarations_file_via_agent) — nothing is regenerated. The recipisa lands in the dosar like any other filing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Local path of the .xml or .pdf file | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |