dosare_registry_proposals
Matches contracts from ANAF's registry extract to existing dosare by state, identifying which ones lack a dosar and need import.
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) |