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)

OtherLiveeip155:8453Exactvia facilitator:payAI

Part of br-danfse-rtc-x402.architect-x402.workers.dev · 1 endpoint · See the whole service

BrazilNfseDanfseRtcCbs
Calls · 30d
8
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 19 snapshots so far.
$1.85
Verified settled volume
124 settlements since 2026-11-05, relayed by a known x402 facilitator. Last 30 days: $1.85. Concentrated: one payer is at least 64% of 30-day volume; without it, $0.67. This payTo serves many listings, so the figure is the wallet’s, not this listing’s.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
–
Calls · 30d
Upstream's own call count for this endpoint, not ours.
–
Unique payers · 30d
Never called
Paid to
0x20990fB239296a0A2d923C200Cb1C21187e2dA23

The wallet the 402 directs payment to. Its full payment record is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

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 PayeeChainAmountx402RouteAgeTxn hash
0x679e…54b20x2099…da23BaseBase$0.008100%Coinbase CDP1h ago0x5b5d51…6bca90
0xeda6…d7760x2099…da23BaseBase$0.008100%Coinbase CDP2d ago0xf9f470…7dac29
0xeda6…d7760x2099…da23BaseBase$0.01100%Coinbase CDP2d ago0xfc1e4d…cf03d2
0xeda6…d7760x2099…da23BaseBase$0.005100%Coinbase CDP2d ago0x7ae9f6…443178
0xeda6…d7760x2099…da23BaseBase$0.008100%Coinbase CDP2d ago0xbf4cfa…32cd43
0xeda6…d7760x2099…da23BaseBase$0.005100%Coinbase CDP2d ago0x3964d7…af49a0
0xeda6…d7760x2099…da23BaseBase$0.01100%Coinbase CDP2d ago0xfea1a8…87d066
0x2099…da230x2099…da23BaseBase$0.008100%PayAI5d ago0xd933a6…a2f73e
0x2099…da230x2099…da23BaseBase$0.008100%PayAI5d ago0x3a9ca3…faa4e8
0x2099…da230x2099…da23BaseBase$0.01100%PayAI5d ago0x00b0dc…9f9fe0
0x2099…da230x2099…da23BaseBase$0.01100%PayAI5d ago0x0fd008…efa6df
0x2099…da230x2099…da23BaseBase$0.008100%PayAI5d ago0xdff1c2…816238
0xc9c7…16700x2099…da23BaseBase$0.008100%Coinbase CDP5d ago0x088125…a2eed1
0xf8ef…a6190x2099…da23BaseBase$0.002100%PayAI6d ago0xf8b8c9…0b2224
0xf8ef…a6190x2099…da23BaseBase$0.008100%Coinbase CDP6d ago0xdf11b9…300018
0x2099…da230x2099…da23BaseBase$1.00100%PayAI6d ago0x57a33b…8a1d91
0xf8ef…a6190x2099…da23BaseBase$0.01100%PayAI7d ago0x36e9a7…f923a3
0xf8ef…a6190x2099…da23BaseBase$0.02100%Coinbase CDP7d ago0x8d0ab5…4ffa54
0xf8ef…a6190x2099…da23BaseBase$0.02100%Coinbase CDP7d ago0x79a572…62037e
0xf8ef…a6190x2099…da23BaseBase$0.008100%Coinbase CDP7d ago0xace2fc…fb22e1
0xf8ef…a6190x2099…da23BaseBase$0.008100%Coinbase CDP7d ago0x672f8e…8d09ed
0x2099…da230x2099…da23BaseBase$0.02100%PayAI7d ago0xd54d1c…409b39
0x2099…da230x2099…da23BaseBase$0.02100%PayAI7d ago0x088c6a…74b97b
0x2099…da230x2099…da23BaseBase$0.02100%PayAI7d ago0x04784f…627511
0x2099…da230x2099…da23BaseBase$0.008100%PayAI7d ago0x80a034…fc9f20

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0x2099…2dA23. The signed payment is good for 1 minute.

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
Report

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.

Open skill.md
Show 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.