ToolAssay

Official Brazil Receita Federal RTC Calculator (Base V0073 — 170 cClassTrib, Leg

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)

Answeringour last check, 2026-11-26
6 of 6checks answered this week
73 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://br-danfse-rtc-x402.architect-x402.workers.dev/generate

CategoryEverything else
Provider hostbr-danfse-rtc-x402.architect-x402.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days8 from 5 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.005 98 ms
2026-11-25 valid payment request 402$0.005 49 ms
2026-11-24 valid payment request 402$0.005 61 ms
2026-11-23 valid payment request 402$0.005 79 ms
2026-11-22 valid payment request 402$0.005 219 ms
2026-11-21 valid payment request 402$0.005 68 ms

Example input (from the provider)

{
  "body": {
    "ano": 2027,
    "prestador": {
      "cnpjCpf": "00000000000191",
      "municipio": "Sao Paulo",
      "razaoSocial": "CONSTRUTORA HORIZONTE ENGENHARIA LTDA",
      "uf": "SP"
    },
    "regime": "regime_regular",
    "servico": {
      "codigoTributacaoNacional": "07.02.01",
      "discriminacao": "Medicao de obra civil comercial \u2014 Etapa 03 (LC 214/2025 Art. 261 \u2014 reducao 50%)",
      "valorServico": 100000
    },
    "setor": "construcao_civil",
    "tomador": {
      "cnpjCpf": "11222333000181",
      "municipio": "Curitiba",
      "razaoSocial": "INCORPORADORA ENTERPRISE S.A.",
      "uf": "PR"
    }
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "properties": {
            "aliqCbs": {
              "description": "Optional manual override for nominal CBS rate (%). Alias: cbsAliquota, aliq_cbs.",
              "type": "number"
            },
            "aliqIbs": {
              "description": "Optional manual override for nominal IBS total rate (%). Alias: ibsAliquota, aliq_ibs.",
              "type": "number"
            },
            "aliqIbsMun": {
              "description": "Optional manual override for nominal Municipal IBS rate (%).",
              "type": "number"
            },
            "aliqIbsUf": {
              "description": "Optional manual override for nominal State IBS rate (%).",
              "type": "number"
            },
            "anexoSimples": {
              "description": "Simples Nacional Annex (I-V) when regime='simples_nacional' (alias: anexo_simples).",
              "enum": [
                "I",
                "II",
                "III",
                "IV",
                "V"
              ],
              "type": "string"
            },
            "ano": {
              "description": "Calendar year for LC 214/2025 transition schedule (2026..2033, default: 2026).",
              "type": "integer"
            },
            "atividadeSimples": {
              "description": "Official RFB Simples Nacional activity code ('01'..'14', '90').",
              "type": "string"
            },
            "cClassTrib": {
              "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.",
              "type": "string"
            },
            "discriminacao": {
              "description": "Service or operation description",
              "type": "string"
            },
            "fatorR": {
              "description": "Payroll/revenue ratio (0..1) for Simples Nacional Annex III vs V (threshold 0.28). Alias: fator_r.",
              "type": "number"
            },
            "generateHtml": {
              "description": "Include printable DANFSe HTML in response (default: true on /generate, false on /calculate).",
              "type": "boolean"
            },
            "itens": {
              "description": "Optional batch list of items/services to compute official RTC reductions and totals in a single call (max 50).",
              "items": {
                "properties": {
                  "cClassTrib": {
                    "type": "string"
                  },
                  "descricao": {
                    "type": "string"
                  },
                  "nbs": {
                    "type": "string"
                  },
                  "ncm": {
                    "type": "string"
                  },
                  "setor": {
                    "type": "string"
                  },
                  "valor": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "nbs": {
              "description": "Optional 4-9 digit NBS service code for automatic official RFB cClassTrib lookup",
              "type": "string"
            },
            "ncm": {
              "description": "Optional 4-8 digit NCM code for automatic official RFB cClassTrib & reduction lookup",
              "type": "string"
            },
            "prestador": {
              "description": "Service provider identification (cnpjCpf, razaoSocial, municipio, uf, simplesNacional)",
              "type": "object"
            },
            "rbt12": {
              "description": "Last 12-month gross revenue in BRL for Simples Nacional effective DAS rate (default: 360000).",
              "type": "number"
            },
            "regime": {
              "description": "Tax regime (default: 'regime_regular'). Supports Simples Nacional DAS simulation and transferable B2B credit.",
              "enum": [
                "regime_regular",
                "simples_nacional",
                "simples_nacional_regular_por_fora"
              ],
              "type": "string"
            },
            "servico": {
              "description": "Service values, cTribNac, cClassTrib, nbs, ISS and optional manual CBS/IBS rates",
              "type": "object"
            },
            "setor": {
              "description": "Semantic sector alias when cClassTrib is unknown (e.g. 'construcao_civil', 'saude', 'educacao', 'cesta_basica', 'profissao_intelectual', 'locacao_imoveis', 'bares_restaurantes', 'combustiveis', 'padrao').",
              "type": "string"
            },
            "tomador": {
              "description": "Service taker identification (cnpjCpf, razaoSocial, municipio, uf)",
              "type": "object"
            },
            "valorServico": {
              "description": "Service or item amount in BRL (alias: valor_servico, baseCalculo)",
              "type": "number"
            },
            "xml": {
              "description": "Raw NFS-e XML (National standard or ABRASF)",
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },

This page as JSON