{"uid":"cap_JqMbfVreRV8v9WX605JaJ","slug":"toll402-romanian-cui-validator-967c663f","name":"Toll402 Romanian CUI Validator","description":"Offline validator for a Romanian CUI (company tax ID). Strips an optional 'RO' prefix, applies weights 7-5-3-2-1-7-3-2 to the digits preceding the check digit (right-to-left), sums the weighted products, multiplies by 10, takes mod 11 (mapping a remainder of 10 to 0), and compares the result to the supplied check digit.","url":"https://toll402.dev/v1/t/cui_ro_validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["cui"],"properties":{"cui":{"type":"string","description":"CUI, optionally prefixed with RO, 2-9 digits"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3XD8Gm2s4oTwveXMzAQUq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Romanian CUI (company tax ID) using offline checksum verification with weighted digit algorithm","exampleAgentPrompt":"Can you check if the Romanian company CUI 'RO18547290' is valid?","exampleUseCases":[{"title":"Pre-onboarding Romanian vendor check","prompt":"Before I add this Romanian supplier to our system, can you verify their CUI number RO24561873 is actually valid?"},{"title":"E-commerce Romanian B2B form validation","prompt":"A customer entered 'RO12345678' as their Romanian company tax ID on our checkout form — is that a valid CUI?"},{"title":"Bulk invoice data cleanup","prompt":"I have a Romanian company CUI '987654321' from an old invoice — can you tell me if the checksum on it is correct?"}],"resultDescription":"Returns a validation result indicating whether the supplied Romanian CUI passes the weighted checksum algorithm — strips any 'RO' prefix, applies weights 7-5-3-2-1-7-3-2, multiplies sum by 10, takes mod 11, and confirms the check digit matches.","failureModes":["CUI contains non-numeric characters after prefix stripping","CUI is fewer than 2 or more than 9 digits","Missing required 'cui' field in request body","Checksum mismatch returns invalid result (not an error, but a failed validation)"],"whenToPreferThis":"Choose this endpoint when you need fast, offline, deterministic validation of Romanian CUI numbers without making external lookups to Romanian government databases. Ideal for form validation, batch data cleaning, or pre-screening before expensive live lookups. Use the sibling business-verification endpoint if you also need to confirm the company is actively registered.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:29.385Z","isFirstParty":false}