dosare_registry_proposals
Processes ANAF contract registry extracts (C168 SPV response) to match contracts with existing dosares and import those without one.
Instructions
Contracts listed in ANAF's registry extract ("Registrul contractelor de locatiune", the answer to the C168 SPV request — request it with spv_request_prepare type C168) with their state after all filings (active / expired without termination / terminated), each matched to the existing dosare. Reads the newest extract archived in the SPV inbox, or the PDF at pdfPath. Then dosare_registry_import for the ones without a dosar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfPath | No | Local PDF of the extract, when it was downloaded by hand | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |