br_tax_payroll_calc
Deterministic Brazilian tax & payroll calculator: Simples Nacional (Anexos I-V + Fator R), progressive INSS/IRRF, FGTS, and B2B NFS-e withholdings (0.008 USDC via x402 on Base).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "br_tax_payroll_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payroll | No | Calculate progressive INSS, IRRF (comparing legal deductions vs simplified discount), net salary, and employer FGTS. | |
| simples | No | Calculate Brazilian Simples Nacional effective tax rate, DAS amount, and Fator R (28% payroll ratio optimization). | |
| aiSummary | No | Generate an executive Brazilian tax & payroll brief via Cloudflare Workers AI (default: true). | |
| nfseRetention | No | Calculate B2B Brazilian service invoice withholdings (IRRF 1.5%, CSRF/PCC 4.65%, ISS, INSS 11%) and net payable. |