declarations_update
Update draft declarations by modifying form data, attachments, or metadata. Also record filings made outside Storno to track their status.
Instructions
Update a draft declaration: data (for d212 / c168 the form input under data.input and attachments under data.attachments) and/or metadata. Only drafts can be edited. With filedExternally (any status but submitted/accepted) Storno records a filing made outside it and follows its state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID | |
| data | No | ||
| metadata | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| filedExternally | No | The declaration was filed outside Storno (portal by hand, another program, at the counter): Storno records ANAF's number and follows its state on StareD112; ghiseu: true when the number is the counter registration number |