partners_verify_all
Re-check client and supplier registries via ANAF/VIES when checks are missing or outdated, returning counts of changed, failed, and skipped partners.
Instructions
Re-check every client and supplier of the company whose last registry check is missing or older than days days (default 30; 0 = everyone). Romanian partners go to ANAF in batches of 100, EU partners to VIES one by one; individuals and non-EU partners are skipped. Returns counts: checked, changed (snapshot differs from the previous one), failed (registry did not answer — retried by the daily job), skipped, and since. The same run happens automatically every day at 06:40 for partners older than 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Re-check partners checked more than this many days ago (default 30, 0 = all) | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |