dosare_d212_create
Creates the D212 rent scenario draft in a Declarația unică dosar, then prepares it for ANAF validation and e-filing.
Instructions
Create the D212 draft (rent scenario) inside a Declarația unică dosar from the reviewed input (schema: declaration_form_spec D212; omit input to use the prefill as is). The draft then goes through declarations_validate (ANAF DUKIntegrator), declarations_prepare / declarations_agent_result (sign + file with the certificate through the local agent) and the recipisa lands in the dosar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| input | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |