Watch a company for changes
watch_companyRegister a company by CUI to baseline its ONRC registry record, then track monthly changes in directors, CAEN activity, address, status, and ANAF VAT/inactive flags.
Instructions
Register a company (by CUI) to monitor. Stores a fingerprint of its current registry record as the baseline; poll_watchlist then reports changes between monthly ONRC snapshots - a new director, a new CAEN activity, an address or status change - and when ANAF declares it fiscally inactive or its VAT status flips.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | Romanian tax identification number (CUI) of the firm to watch, e.g. '2816464'. Watching a firm you already watch changes nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true when the watch is in place. | |
| asOf | No | What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| watch | No | kind, target, owner (key prefix), county, baseline. | |
| message | No | A sentence for the caller. | |
| attribution | No | The credit line to keep when redistributing the data (CC BY 4.0). | |
| alreadyWatching | No | true when you already held this watch (nothing changed). |