Fake Company with CNAE
Generate fake company data: legal name, brand, valid CNPJ, primary CNAE and address. For test seeds.
Realistic Brazilian company fixtures: pairing CNAE with the right legal form
This generator returns a complete fictitious B2B record: a razão social, a fantasy name, a syntactically valid CNPJ, a coherent main CNAE and a legal form (natureza jurídica) that is consistent with that CNAE. The point is not to invent numbers — most CNPJ generators already do that. The point is to refuse impossible combinations, the ones a real ERP, marketplace KYC or accounting suite will bounce. A "MEI" tagged with CNAE 86.30-5/02 (medical clinic) is a textbook fixture rejection — the regime simply does not allow that activity. Mocking real-world rejection paths means starting from data that is itself plausible.
Why coherent combinations matter
Three concrete use-cases drive this filter:
- ERP / accounting demos — Simples Nacional vs Lucro Presumido vs Lucro Real flows depend on revenue caps and CNAE eligibility. Demoing the Simples flow with a CNAE that excludes Simples means the demo never reaches the screen you wanted to show.
- Marketplace seller onboarding — Mercado Livre, Amazon BR and Shopee all check CNPJ + CNAE against MEI eligibility, sanitary licences and Receita Federal status. Coherent fixtures stress-test the full happy path.
- Tax-engine and invoice tests — ISS rates, IRPJ presumption percentages and IBS/CBS classification (post-reform) are CNAE-driven. A LTDA with CNAE 47.81-4/00 prices differently than the same LTDA with CNAE 62.01-5/01.
CNAEs forbidden to MEI
Resolução CGSN 140/2018 (updated periodically) defines a closed list. Forbidden buckets include intellectual / scientific activities (programming, consulting, copywriting except specific listed exceptions), regulated professions with exclusive councils (medicine, dentistry, law, full engineering — with narrow exceptions for technicians), high-risk activities (firearms trade, fireworks manufacturing), and financial intermediation. Typical MEI-friendly CNAEs are 96.02-5/01 (hair salon), 56.20-1/04 (food truck), 47.81-4/00 (apparel retail), 49.30-2/02 (app-based driver), 45.20-0/05 (car wash).
Typical CNAEs by legal form
- MEI — closed positive list, revenue cap R$ 81 k (rising to R$ 144 k in 2026 under approved bill PLP 108/2024).
- ME (Microempresa) — any CNAE not flagged impeditivo for Simples; revenue cap R$ 360 k.
- EPP (Empresa de Pequeno Porte) — same CNAE rules as ME, revenue cap R$ 4.8 M for Simples.
- LTDA — no revenue cap; with regulated-profession partners (medicine, law, accounting) it adopts sociedade simples under Art. 966 sole-paragraph of the Civil Code.
- SA / S.A. — corporate form for larger operations; rarely Simples-eligible because of revenue or capital structure.
Main CNAE vs secondary
Every CNPJ carries exactly one main CNAE and unlimited secondaries. The main one drives Simples eligibility, the FAP coefficient for occupational risk, the ISS rate at the municipality and which line of nota fiscal the company is presumed to invoice. Secondaries authorise issuing notas for those extra activities without registering a new entity. Common pairings — 56.11-2/01 restaurant + 56.20-1/04 catering; 47.71-7/01 pharmacy + 86.50-0/04 nursing services.
FAQ
Are the combinations realistic enough to fool a CNPJ validator? The CNPJ check-digit is mathematically valid and the CNAE belongs to the published 2.3 list. The combination respects the MEI/ME/EPP eligibility rules. What the data is not: a real, registered Receita Federal record — querying it on the public consulta-CNPJ endpoint will return "não localizada".
Does the CNAE actually change the Simples Nacional rate? Yes. CNAEs are mapped to Anexos I to V of Simples; each anexo has its own progressive rate table. The same revenue can be taxed at 4 % (Anexo I, retail) or 15.5 %+ (Anexo V, intellectual services not paying enough payroll), so picking the right CNAE for the fixture matters.
Will it generate something a CRM import will accept? Typically yes — the CNPJ format passes Receita's algorithm, the CNAE is in the official list, the legal form code matches Receita's table, and the address follows the Correios CEP format. Real CRMs that hit Receita's API will of course flag the record as "não encontrado".
Can I export the dataset for load testing? Each run produces one record; click multiple times or wrap the page in a script. The data is deterministic in structure but random in values, so a thousand calls give you a thousand independent rows with no collisions on the CNPJ check digit.
Related Tools
Handwriting Generator
Convert typed text into an image with handwriting appearance. Useful for adding a personal touch to digital work.
Resume Generator
Fill a simple printable A4 CV from a form with personal data, education and experience.
Favicon Generator
Generate a favicon from text/emoji in all common sizes (16, 32, 48, 64, 192, 512). PNG download.