Tax modules
- ICMS, ICMS-ST, DIFAL, IPI, PIS and Cofins calculation
- Classification by NCM, CFOP and CST/CSOSN
- Electronic documents: NF-e, NFC-e and NFS-e
- Rule validation before sending to SEFAZ
- Ancillary obligations and SPED
Full Stack DeveloperAI Engineer
Two years building tax-compliance SaaS for companies in Brazil and Paraguay, from NF-e e-invoices to SIFEN and Brazil's tax reform. Today I build complete products, from the database to artificial intelligence.
About
For two years I have been writing the software that calculates taxes, transmits electronic invoices and keeps inventory compliant for companies in Brazil and Paraguay. When the rules change, the system has to change with them, without stopping anyone's business. Today I bring that discipline to whole products, from the database to artificial intelligence.
Experience · Tax SaaS
I build modules that turn tax rules into reliable code: tax calculation, issuing and transmitting electronic tax documents in both countries, and the changes required by Brazil's tax reform.
<det nItem="1"> <prod><vProd>1000.00</vProd></prod> <imposto> <IBSCBS> <CST>000</CST> <cClassTrib>000001</cClassTrib> <gIBSCBS> <vBC>1000.00</vBC> <gIBSUF><pIBSUF>0.1000</pIBSUF><vIBSUF>1.00</vIBSUF></gIBSUF> <gIBSMun><pIBSMun>0.0000</pIBSMun><vIBSMun>0.00</vIBSMun></gIBSMun> <vIBS>1.00</vIBS> <gCBS><pCBS>0.9000</pCBS><vCBS>9.00</vCBS></gCBS> </gIBSCBS> </IBSCBS> </imposto> </det>
Simplified example of the NT 2025.002 layout, using the 2026 test rates. Change the value to recalculate.
Tax reform
From 2026 to 2033, two tax systems run side by side. Every year changes what the software has to calculate, show on the invoice and settle.
Domain · Inventory
I know the path of every item, from the purchase invoice to the stock count. Inventory and tax go together, because every movement affects both cost and tax.
Stock card
Cardboard box 40×30 · SKU 10293 · average cost
| Date | Movement | Qty | Unit cost | Balance | Avg cost | Value |
|---|---|---|---|---|---|---|
| Nov 03 | Receipt · Inv. 1,204 | +100 | 10.00 | 100 | 10.00 | 1,000.00 |
| Nov 05 | Receipt · Inv. 1,311 | +50 | 13.00 | 150 | 11.00 | 1,650.00 |
| Nov 08 | Issue · order 552 | −80 | 11.00 | 70 | 11.00 | 770.00 |
| Nov 12 | Receipt · Inv. 1,398 | +30 | 14.00 | 100 | 11.90 | 1,190.00 |
| Nov 14 | Issue · order 571 | −40 | 11.90 | 60 | 11.90 | 714.00 |
Issues leave at the current average cost. A more expensive receipt pulls the average up.
Own project · 2026
Caring families, calm schools.
A SaaS for Brazilian schools that I built on my own, from product to infrastructure. Teachers take attendance and post homework. At 5 p.m., each family gets a single WhatsApp message with only what concerns their own child.
The scheduler builds one message per family and queues it. If sending fails it retries, and it never sends twice.
scheduler.ts · messaging.ts
Phone numbers, e-mails, messages and health data are encrypted. A blind index finds a phone number without storing it in readable form.
AES-256-GCM · HMAC
Each record carries the fingerprint of the previous one. If anyone tampers with the history, the chain breaks and gives it away.
hash chain
Tuition without duplicates, daily late fees and interest, overdue accounts by age bracket, and Pix payments reconciled automatically through AbacatePay.
finance.ts · abacate.ts · pdfmake
Pure, tested rules. Teacher conflicts are checked against real clock time, so they are caught even across different shifts.
timetable.ts · grade.test.ts
Server-rendered Astro with React islands, hash-based CSP, brotli assets, systemd, HTTPS with Caddy and daily backups.
Astro SSR · CSP · Caddy
AI Engineering
I treat language models as an engineering component, with controlled input, validated output and measured cost. And I use AI in my own workflow to ship faster without losing quality.
Coding agents that read the project, plan, write, test and review. That is how Coruja went from spec to 15,000 tested lines.
I turn documents and code into a queryable graph. I mapped Coruja's entire spec this way before writing the first line.
Structured prompts, schema-validated JSON output, tool use, caching, and per-request cost and latency control.
Suggesting NCM, CFOP and tax classification from the product description, always with human review and a deterministic rule behind it.
Stack
Contact
Open to roles and projects in SaaS, tax systems, full product development and AI automation.