Check extracted Romanian company data (ANAF, ONRC)
validate_extracted_company_dataChecks company data an AI extracted from an invoice, contract or form against Romanian public sources (ANAF, ONRC) and checksums. Returns a verdict and the registered value per field (CUI, name, registration number, VAT status, company status, address, IBAN, legal representative), optional invoice arithmetic checks, and a deterministic confidence score with pass / review / reject. Use before saving to an ERP or paying. Costs 2 credits, +5 with legalRepresentative, +1 with invoice; not billed on errors or when ANAF is unreachable. Checked against public sources (ANAF, ONRC) and checksums. Not a KYC/AML check. A structurally valid IBAN does not prove the account belongs to the company. Always review before paying.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"party": "<party>"
},
"name": "validate_extracted_company_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| party | Yes | Company data extracted from the document. cui is required; other fields are checked only when sent | |
| invoice | No | Optional invoice block. Adds 1 credit on validate_extracted_company_data. Checks total = net + VAT, Romanian VAT rates, and that the date is not in the future. | |
| asOfDate | No | Date the document claims, YYYY-MM-DD. Default today (Europe/Bucharest). Used for ANAF status on that date |