dosare_c168_create
Creates the C168 declaration in a rental-contract dosar from reviewed input and required attachments for registration, amendment, or termination, then prepares validation and filing.
Instructions
Create the C168 declaration in the dosar from the reviewed input (schema: declaration_form_spec C168) with the attachment: dosar files by id (fileIds) and/or local files (attachmentPaths) — the scanned contract for a registration, the addendum for an amendment, the termination document or the signed sworn statement for a termination. Storno applies its rules (errors → 422 with issues), stores the reviewed addresses in the dosar for next time and sets the next step. Then declarations_validate and declarations_file_via_agent. ANAF processes one C168 per landlord and period at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Rental-contract dosar id | |
| input | No | Reviewed C168 input; omitted → the prefill as is | |
| actiune | Yes | ||
| fileIds | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| attachmentPaths | No |