Audit
Brazil NF-e XML Auditor & RTC CBS/IBS Credit Auditor v2.6 — SEFAZ 4.00 XML Compression (~90% Token Savings), Mod-11 Key Decoder, Official RFB V0073 CBS/IBS Tax Credit Audit (Procurement & Fleet) + Ready-to-Send Supplier Alert
POST https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/audit
0.01 USDC on Base · payTo 0x20990fB239296a0A2d923C200Cb1C21187e2dA23
Status: unverified (live-probe)
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"accessKey": "35261100000000000191550010000012341000012345",
"aiSummary": true,
"auditRtcCredit": true,
"includeItems": true,
"referenceYear": 2027
}{
"accessKeyAudit": {
"accessKey": "35261100000000000191550010000012341000012345",
"emissionType": "1",
"invoiceNumber": "000001234",
"isValidLength": true,
"issueYearMonth": "2026-11",
"issuerCnpj": "00000000000191",
"mod11Valid": true,
"model": "55",
"modelName": "NF-e",
"series": "001",
"uf": "SP",
"ufCode": "35"
},
"aiExecutiveBrief": "NF-e autorizada de R$ 50.000,00 sem destaque de CBS/IBS — crédito tributário de R$ 4.450,00 em risco; alerta de cobrança ao fornecedor pronto.",
"auditReport": {
"anomalies": [
"RTC_MISSING_CREDIT_HIGHLIGHT: NF-e sem destaque de CBS/IBS (LC 214/2025). Crédito tributário estimado em risco: R$ 4.450,00 (ano 2027)."
],
"cfopScopeConsistent": true,
"mathConsistent": true,
"sefazAuthorized": true,
"status": "WARNING"
},
"invoiceSummary": {
"crt": "3 - Regime Normal (Lucro Presumido/Real)",
"destinatario": {
"cnpj": "11222333000181",
"nome": "COMPRADOR ENTERPRISE LTDA",
"uf": "SP"
},
"emitente": {
"cnpj": "00000000000191",
"nome": "FORNECEDOR INDUSTRIAL SA",
"uf": "SP"
},
"naturezaOperacao": "VENDA DE MERCADORIA",
"totals": {
"vDesc": 0,
"vFrete": 0,
"vIPI": 0,
"vNF": 50000,
"vProd": 50000,
"vST": 0,
"vTotTrib": 9250
}
},
"processingTimeMs": 12,
"rtcCreditAudit": {
"creditAtRiskBrl": 4450,
"expected": {
"total": 4450,
"vCBS": 4400,
"vIBS": 50
},
"hasIbscbsGroupInXml": false,
"highlighted": {
"total": 0,
"vCBS": 0,
"vIBS": 0
},
"overchargedTaxBrl": 0,
"projectedCreditAtRisk2027Brl": 4450,
"projectedCreditAtRisk2033Brl": 13250,
"referenceYear": 2027,
"rfbDbVersion": "V0073",
"severity": "missing_credit_highlight"
},
"success": true,
"supplierAlert": {
"actionRequired": true,
"emailDraft": {
"subject": "[Urgente Fiscal] NF-e 000001234 sem destaque de crédito CBS/IBS — R$ 4.450,00 em risco",
"suggestedEndpoint": "https://email.brunopompeo.com.br/send"
},
"priority": "high",
"recommendedAction": "Solicitar ao fornecedor carta de correção / reemissão da NF-e com destaque dos campos <IBSCBS> (CBS/IBS) conforme LC 214/2025.",
"severity": "missing_credit_highlight"
},
"tokenMetrics": {
"cleanJsonTokensEst": 460,
"rawXmlTokensEst": 4200,
"savingsPercent": 89.05,
"tokensSaved": 3740
}
}HIVE Repair reads this endpoint's real probe record, writes the exact fix and re-probes until it shows verified · payable, or you get a full refund. Card or USDC.
Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/audit · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"description": "Raw Brazilian NF-e or NFC-e XML content (<nfeProc> or <NFe>, SEFAZ 4.00 layout) to parse, compress (~90% token savings), and mathematically audit."
},
"accessKey": {
"type": "string",
"description": "Optional 44-digit Brazilian NF-e access key (Chave de Acesso) to decompose UF, issue date, issuer CNPJ, model, number, and validate Mod-11 check digit."
},
"includeItems": {
"type": "boolean",
"description": "Include line-item details (NCM, CFOP, quantities, ICMS/IPI/PIS/COFINS) in output (default: true)."
},
"aiSummary": {
"type": "boolean",
"description": "Generate a concise accounting/tax audit summary via Cloudflare Workers AI (default: true)."
}
}
}Output schema
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"accessKeyAudit": {
"type": "object"
},
"invoiceSummary": {
"type": "object"
},
"items": {
"type": "array"
},
"auditReport": {
"type": "object"
},
"tokenMetrics": {
"type": "object"
},
"aiExecutiveBrief": {
"type": "string"
},
"processingTimeMs": {
"type": "number"
}
}
}curl -i -X POST 'https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/audit' \
-H 'content-type: application/json' -d '{"accessKey":"35241100000000000191550010000012341000012345","includeItems":true,"aiSummary":true}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs
Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.