br-danfse-rtc-x402.architect-x402.workers.dev
Official Brazil Receita Federal RTC Calculator (Base V0073 — 170 cClassTrib, Legal Reductions, Simples Nacional, 2026-2033 Transition) & DANFSe Generator on Cloudflare Edge (Zero Java Server Required)
Part of br-danfse-rtc-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.
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.005 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
- 5000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x20990fB239296a0A2d923C200Cb1C21187e2dA23",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"ano": 2027,
"setor": "construcao_civil",
"regime": "regime_regular",
"servico": {
"valorServico": 100000,
"discriminacao": "Medicao de obra civil comercial — Etapa 03 (LC 214/2025 Art. 261 — reducao 50%)",
"codigoTributacaoNacional": "07.02.01"
},
"tomador": {
"uf": "PR",
"cnpjCpf": "11222333000181",
"municipio": "Curitiba",
"razaoSocial": "INCORPORADORA ENTERPRISE S.A."
},
"prestador": {
"uf": "SP",
"cnpjCpf": "00000000000191",
"municipio": "Sao Paulo",
"razaoSocial": "CONSTRUTORA HORIZONTE ENGENHARIA LTDA"
}
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"status": "GENERATED",
"success": true,
"rtcCalculation": {
"iss": {
"valor": 5000,
"retido": false,
"aliquota": 5
},
"rtc": {
"ano": 2027,
"cbs": {
"valor": 4400,
"aliquota": 4.4,
"reducaoPct": 50,
"aliquotaNominal": 8.8
},
"ibs": {
"valor": 50,
"aliquota": 0.05,
"reducaoPct": 50,
"aliquotaNominal": 0.1
},
"regime": "regime_regular",
"dbVersion": "V0073",
"classification": {
"cst": "200",
"redCbsPct": 50,
"redIbsPct": 50,
"cClassTrib": "200046",
"fundamentacaoLegal": "LC 214/2025 — Art. 261"
},
"totalImpostosRtc": 4450,
"economiaReducaoLegal": {
"cbsBrl": 4400,
"ibsBrl": 50,
"totalBrl": 4450
}
},
"baseCalculo": 100000
}
}
}
},
"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": {
"ano": {
"type": "integer",
"description": "Calendar year for LC 214/2025 transition schedule (2026..2033, default: 2026)."
},
"nbs": {
"type": "string",
"description": "Optional 4-9 digit NBS service code for automatic official RFB cClassTrib lookup"
},
"ncm": {
"type": "string",
"description": "Optional 4-8 digit NCM code for automatic official RFB cClassTrib & reduction lookup"
},
"xml": {
"type": "string",
"description": "Raw NFS-e XML (National standard or ABRASF)"
},
"itens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nbs": {
"type": "string"
},
"ncm": {
"type": "string"
},
"setor": {
"type": "string"
},
"valor": {
"type": "number"
},
"descricao": {
"type": "string"
},
"cClassTrib": {
"type": "string"
}
}
},
"description": "Optional batch list of items/services to compute official RTC reductions and totals in a single call (max 50)."
},
"rbt12": {
"type": "number",
"description": "Last 12-month gross revenue in BRL for Simples Nacional effective DAS rate (default: 360000)."
},
"setor": {
"type": "string",
"description": "Semantic sector alias when cClassTrib is unknown (e.g. 'construcao_civil', 'saude', 'educacao', 'cesta_basica', 'profissao_intelectual', 'locacao_imoveis', 'bares_restaurantes', 'combustiveis', 'padrao')."
},
"fatorR": {
"type": "number",
"description": "Payroll/revenue ratio (0..1) for Simples Nacional Annex III vs V (threshold 0.28). Alias: fator_r."
},
"regime": {
"enum": [
"regime_regular",
"simples_nacional",
"simples_nacional_regular_por_fora"
],
"type": "string",
"description": "Tax regime (default: 'regime_regular'). Supports Simples Nacional DAS simulation and transferable B2B credit."
},
"aliqCbs": {
"type": "number",
"description": "Optional manual override for nominal CBS rate (%). Alias: cbsAliquota, aliq_cbs."
},
"aliqIbs": {
"type": "number",
"description": "Optional manual override for nominal IBS total rate (%). Alias: ibsAliquota, aliq_ibs."
},
"servico": {
"type": "object",
"description": "Service values, cTribNac, cClassTrib, nbs, ISS and optional manual CBS/IBS rates"
},
"tomador": {
"type": "object",
"description": "Service taker identification (cnpjCpf, razaoSocial, municipio, uf)"
},
"aliqIbsUf": {
"type": "number",
"description": "Optional manual override for nominal State IBS rate (%)."
},
"prestador": {
"type": "object",
"description": "Service provider identification (cnpjCpf, razaoSocial, municipio, uf, simplesNacional)"
},
"aliqIbsMun": {
"type": "number",
"description": "Optional manual override for nominal Municipal IBS rate (%)."
},
"cClassTrib": {
"type": "string",
"description": "Official 6-digit Receita Federal cClassTrib code (Base V0073, e.g. '200046' construction 50% reduction, '200029' health 60%, '200028' education 60%, '200003' basic food basket 100%, '200052' regulated professions 30%, '000001' standard). Alias: c_class_trib."
},
"anexoSimples": {
"enum": [
"I",
"II",
"III",
"IV",
"V"
],
"type": "string",
"description": "Simples Nacional Annex (I-V) when regime='simples_nacional' (alias: anexo_simples)."
},
"generateHtml": {
"type": "boolean",
"description": "Include printable DANFSe HTML in response (default: true on /generate, false on /calculate)."
},
"valorServico": {
"type": "number",
"description": "Service or item amount in BRL (alias: valor_servico, baseCalculo)"
},
"discriminacao": {
"type": "string",
"description": "Service or operation description"
},
"atividadeSimples": {
"type": "string",
"description": "Official RFB Simples Nacional activity code ('01'..'14', '90')."
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"type": "string",
"const": "json"
}
}
},
"output": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "json"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-11-22 08:13Z
- Last indexed by Roundhouse
- 2026-12-02 13:15Z
- Last enriched (probe, favicon, geo)
- 2026-11-22 08:46Z
- x402 version
- 2
- Max timeout
- 60s
- Liveness probe
- HTTP 404
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. 19 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-danfse-rtc-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-danfse-rtc-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-danfse-rtc-x402.architect-x402.workers.dev/generate, 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.