In Brazil, sales require an electronic invoice authorized by the government, with federal, state or city taxes. Via our API or panel, Webmania calculates taxes, issues your invoices and captures the ones you receive, for 100,000+ active company IDs (CNPJs).
The tax reform replaces most indirect taxes with two value-added taxes: CBS (federal) and IBS (state and city), calculated on each invoice line, with the tax paid on purchases taken as a credit. The change runs from 2026 to 2033. Until then, invoices show both the old and the new taxes, and Webmania calculates both on every document. Our complete guide to Brazilian tax documents explains each invoice, step by step.
Both sides of your tax operation in Brazil, in the Webmania® Panel or through our REST APIs: the invoices you issue and the ones you receive. Tax Reconciliation checks the Federal Revenue's CBS calculation against both.
Issue
Invoices for goods (NF-e), retail (NFC-e), services (NFS-e), freight (CT-e, MDF-e) and more, from the Webmania® Panel or the API. Taxes are calculated on every invoice. If the tax authority rejects one, AI Diagnosis shows what to fix, so the sale is not held up.
API parameter names follow the official Brazilian schema, so they stay in Portuguese.
Based in Brazil, working worldwide
No language barriers.
Webmania® is a Brazilian company that works with businesses all over the world. Our own real-time translation technology lets our specialists reply and hold meetings with you in 43 languages, from the first call to your first invoice.
Send JSON, get the authorized XML and DANFE back. Webmania handles the XML layout, the digital signature and the connection to each tax authority. When an authority is offline, Webmania switches to contingency mode, a backup issuing procedure.
Official SDKsPHP, Python, Node.js, Java and C#, on GitHub, plus a Postman collection.
Webhooks for every statusAuthorized, rejected, canceled or in contingency, identified by the document UUID.
SandboxTest the whole integration before your first real invoice. Sandbox invoices have no legal value.
Specialist supportTechnical and accounting specialists, from integration to daily operation.
200 OK · "status": "aprovado" · uuid sent to your webhook
Contact
Talk to a Brazil tax specialist.
Tell us what you sell in Brazil and where. We reply by email, in your language, with the documents and taxes your operation needs.
We read your messageA specialist reviews what you sell and the states involved.
We reply in your languageBy email or video call, in any of 43 languages, with the invoices and taxes that apply to you.
You test in the sandboxTest your integration before your first real invoice. Test invoices have no legal value.
Thank you. We have received your message.
A specialist will reply by email, in the language you chose, with the next steps for your operation in Brazil. We also sent a confirmation to your inbox.