Duplicate ELECTROGRUP SA entries in the company core:
curl -s 'https://api.peviitor.ro/v1/firme/company/?name=ELECTROGRUP'
→ total: 2
- id: 9256208 (correct — the real CIF, keep this one)
- id: 09256208 (zero-padded duplicate — DELETE this one)
Which document to keep / delete
- KEEP
id=9256208 — this is the real CIF (verified via ANAF/CUIScan/CUIFirma: cui 9256208, ELECTROGRUP SA).
- DELETE
id=09256208 — the zero-padded duplicate, created by an unpadded PUT to /v1/firme/company/add/ that the peviitor API padded to 8 digits.
Root cause
A scraper workflow's ensure-company-core step PUT the company with the CIF, and the peviitor API stored it zero-padded to exactly 8 digits, producing a duplicate alongside the real 7-digit CIF doc.
Requested action
Remove the zero-padded company doc id=09256208 (company ELECTROGRUP SA). Keep id=9256208.
Note: DELETE /v1/firme/company/delete/ currently returns a PHP fatal error (require_once .../util/loadEnv.php fails), so there is no working public API for this cleanup — see #1128.
Duplicate ELECTROGRUP SA entries in the company core:
Which document to keep / delete
id=9256208— this is the real CIF (verified via ANAF/CUIScan/CUIFirma:cui 9256208,ELECTROGRUP SA).id=09256208— the zero-padded duplicate, created by an unpadded PUT to/v1/firme/company/add/that the peviitor API padded to 8 digits.Root cause
A scraper workflow's
ensure-company-corestep PUT the company with the CIF, and the peviitor API stored it zero-padded to exactly 8 digits, producing a duplicate alongside the real 7-digit CIF doc.Requested action
Remove the zero-padded company doc
id=09256208(companyELECTROGRUP SA). Keepid=9256208.Note:
DELETE /v1/firme/company/delete/currently returns a PHP fatal error (require_once .../util/loadEnv.phpfails), so there is no working public API for this cleanup — see #1128.