br-tax-payroll-calc-x402.architect-x402.workers.dev
Brazil Tax & Payroll Engine v2 — Simples Nacional (Anexos I-V + Fator R), Progressive INSS/IRRF Payroll & B2B NFS-e Withholding Calculator
Part of br-tax-payroll-calc-x402.architect-x402.workers.dev · 1 endpoint · See the whole service
The wallet the 402 directs payment to. Its full payment record is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.
Recent payments · which agents last used it
Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.
| Payer Payee | Chain | Amount | x402 | Route | Age | Txn hash |
|---|---|---|---|---|---|---|
| 0x2099…da230x2099…da23 | Base | $0.002 | 100% | 17d ago | 0xc1ff60…eebf99 |
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x20990fB239296a0A2d923C200Cb1C21187e2dA23",
"amount": "8000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/calc",
"tags": [
"brazil",
"latam",
"tax",
"simples-nacional",
"inss",
"irrf",
"nfse",
"accounting",
"payroll"
],
"mimeType": "application/json",
"description": "Brazil Tax & Payroll Engine v2 — Simples Nacional (Anexos I-V + Fator R), Progressive INSS/IRRF Payroll & B2B NFS-e Withholding Calculator",
"serviceName": "Architect x402 Brazil Tax & Payroll Engine"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"payroll": {
"dependents": 1,
"grossSalary": 8500
},
"simples": {
"anexo": "auto",
"rbt12": 480000,
"payroll12m": 145000,
"monthlyRevenue": 45000
},
"aiSummary": true,
"nfseRetention": {
"retainIss": true,
"issRatePct": 5,
"serviceType": "consultoria_ti_contabil",
"invoiceAmount": 10000
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"success": true,
"payrollCalc": {
"netSalary": 6444.14,
"grossSalary": 8500,
"inssDiscount": 951.63,
"irrfDiscount": 1104.23,
"irrfMethodUsed": "LEGAL_DEDUCTIONS",
"fgtsEmployerCost": 680
},
"nfseRetentions": {
"netPayable": 8885,
"grossAmount": 10000,
"issWithheld": 500,
"inssWithheld": 0,
"irrfWithheld": 150,
"totalWithheld": 1115,
"csrfPccWithheld": 465
},
"simplesNacional": {
"faixa": 3,
"fatorR": 0.3021,
"appliedAnexo": "III",
"deductionBRL": 17640,
"nominalRatePct": 13.5,
"requestedAnexo": "auto",
"estimatedDasBRL": 4421.25,
"fatorRQualified": true,
"effectiveRatePct": 9.825
},
"aiExecutiveBrief": "Fator R de 30,21% enquadrou a empresa no Anexo III (alíquota efetiva 9,83%, DAS R$ 4.421,25). Retenções na NFS-e somam R$ 1.115,00 (líquido R$ 8.885,00).",
"processingTimeMs": 6
}
}
},
"schema": {
"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",
"properties": {
"payroll": {
"type": "object",
"required": [
"grossSalary"
],
"properties": {
"dependents": {
"type": "number"
},
"grossSalary": {
"type": "number"
},
"isProLabore": {
"type": "boolean"
},
"otherDeductions": {
"type": "number"
}
},
"description": "Calculate progressive INSS, IRRF (comparing legal deductions vs simplified discount), net salary, and employer FGTS."
},
"simples": {
"type": "object",
"required": [
"rbt12",
"monthlyRevenue"
],
"properties": {
"anexo": {
"enum": [
"I",
"II",
"III",
"IV",
"V",
"auto"
],
"type": "string"
},
"rbt12": {
"type": "number",
"description": "Trailing 12-month gross revenue (RBT12) in BRL"
},
"payroll12m": {
"type": "number",
"description": "Trailing 12-month payroll expense in BRL (used for Fator R)"
},
"monthlyRevenue": {
"type": "number",
"description": "Current month revenue in BRL"
}
},
"description": "Calculate Brazilian Simples Nacional effective tax rate, DAS amount, and Fator R (28% payroll ratio optimization)."
},
"aiSummary": {
"type": "boolean",
"description": "Generate an executive Brazilian tax & payroll brief via Cloudflare Workers AI (default: true)."
},
"nfseRetention": {
"type": "object",
"required": [
"invoiceAmount"
],
"properties": {
"retainIss": {
"type": "boolean"
},
"issRatePct": {
"type": "number"
},
"serviceType": {
"enum": [
"geral",
"consultoria_ti_contabil",
"limpeza_vigilancia"
],
"type": "string"
},
"invoiceAmount": {
"type": "number"
},
"isSimplesNacional": {
"type": "boolean"
}
},
"description": "Calculate B2B Brazilian service invoice withholdings (IRRF 1.5%, CSRF/PCC 4.65%, ISS, INSS 11%) and net payable."
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
}
}
},
"output": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "json"
},
"example": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"payrollCalc": {
"type": "object"
},
"nfseRetentions": {
"type": "object"
},
"simplesNacional": {
"type": "object"
},
"aiExecutiveBrief": {
"type": "string"
},
"processingTimeMs": {
"type": "number"
}
}
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.
Pay 0.008 USDC on Base to 0x2099…2dA23. The signed payment is good for 1 minute.
- Paid to
- 0x2099…2dA23
- USD Coin contract
- 0x8335…02913
- Payment window
- 1 minute
- As published
- 8000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x20990fB239296a0A2d923C200Cb1C21187e2dA23",
"amount": "8000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"payroll": {
"dependents": 1,
"grossSalary": 8500
},
"simples": {
"anexo": "auto",
"rbt12": 480000,
"payroll12m": 145000,
"monthlyRevenue": 45000
},
"aiSummary": true,
"nfseRetention": {
"retainIss": true,
"issRatePct": 5,
"serviceType": "consultoria_ti_contabil",
"invoiceAmount": 10000
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"success": true,
"payrollCalc": {
"netSalary": 6444.14,
"grossSalary": 8500,
"inssDiscount": 951.63,
"irrfDiscount": 1104.23,
"irrfMethodUsed": "LEGAL_DEDUCTIONS",
"fgtsEmployerCost": 680
},
"nfseRetentions": {
"netPayable": 8885,
"grossAmount": 10000,
"issWithheld": 500,
"inssWithheld": 0,
"irrfWithheld": 150,
"totalWithheld": 1115,
"csrfPccWithheld": 465
},
"simplesNacional": {
"faixa": 3,
"fatorR": 0.3021,
"appliedAnexo": "III",
"deductionBRL": 17640,
"nominalRatePct": 13.5,
"requestedAnexo": "auto",
"estimatedDasBRL": 4421.25,
"fatorRQualified": true,
"effectiveRatePct": 9.825
},
"aiExecutiveBrief": "Fator R de 30,21% enquadrou a empresa no Anexo III (alíquota efetiva 9,83%, DAS R$ 4.421,25). Retenções na NFS-e somam R$ 1.115,00 (líquido R$ 8.885,00).",
"processingTimeMs": 6
}
}
},
"schema": {
"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",
"properties": {
"payroll": {
"type": "object",
"required": [
"grossSalary"
],
"properties": {
"dependents": {
"type": "number"
},
"grossSalary": {
"type": "number"
},
"isProLabore": {
"type": "boolean"
},
"otherDeductions": {
"type": "number"
}
},
"description": "Calculate progressive INSS, IRRF (comparing legal deductions vs simplified discount), net salary, and employer FGTS."
},
"simples": {
"type": "object",
"required": [
"rbt12",
"monthlyRevenue"
],
"properties": {
"anexo": {
"enum": [
"I",
"II",
"III",
"IV",
"V",
"auto"
],
"type": "string"
},
"rbt12": {
"type": "number",
"description": "Trailing 12-month gross revenue (RBT12) in BRL"
},
"payroll12m": {
"type": "number",
"description": "Trailing 12-month payroll expense in BRL (used for Fator R)"
},
"monthlyRevenue": {
"type": "number",
"description": "Current month revenue in BRL"
}
},
"description": "Calculate Brazilian Simples Nacional effective tax rate, DAS amount, and Fator R (28% payroll ratio optimization)."
},
"aiSummary": {
"type": "boolean",
"description": "Generate an executive Brazilian tax & payroll brief via Cloudflare Workers AI (default: true)."
},
"nfseRetention": {
"type": "object",
"required": [
"invoiceAmount"
],
"properties": {
"retainIss": {
"type": "boolean"
},
"issRatePct": {
"type": "number"
},
"serviceType": {
"enum": [
"geral",
"consultoria_ti_contabil",
"limpeza_vigilancia"
],
"type": "string"
},
"invoiceAmount": {
"type": "number"
},
"isSimplesNacional": {
"type": "boolean"
}
},
"description": "Calculate B2B Brazilian service invoice withholdings (IRRF 1.5%, CSRF/PCC 4.65%, ISS, INSS 11%) and net payable."
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
}
}
},
"output": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "json"
},
"example": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"payrollCalc": {
"type": "object"
},
"nfseRetentions": {
"type": "object"
},
"simplesNacional": {
"type": "object"
},
"aiExecutiveBrief": {
"type": "string"
},
"processingTimeMs": {
"type": "number"
}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-11-17 07:29Z
- Last indexed by Roundhouse
- 2026-12-02 22:46Z
- Last enriched (probe, favicon, geo)
- 2026-11-16 09:46Z
- x402 version
- 2
- Max timeout
- 60s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 27 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service br-tax-payroll-calc-x402.architect-x402.workers.dev and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=br-tax-payroll-calc-x402.architect-x402.workers.dev' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://br-tax-payroll-calc-x402.architect-x402.workers.dev/calc, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.