{
  "sample": true,
  "note": "Representative sample output (free). Call POST /audit via x402 for live execution.",
  "endpoint": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/audit",
  "method": "POST",
  "network": "eip155:8453",
  "priceUsdc": "0.01",
  "inputExample": {
    "type": "http",
    "method": "POST",
    "bodyType": "json",
    "body": {
      "accessKey": "35241100000000000191550010000012341000012345",
      "includeItems": true,
      "aiSummary": true
    }
  },
  "output": {
    "success": true,
    "accessKeyAudit": {
      "accessKey": "35241100000000000191550010000012341000012345",
      "isValidLength": true,
      "mod11Valid": true,
      "ufCode": "35",
      "uf": "SP",
      "issueYearMonth": "2024-11",
      "issuerCnpj": "00000000000191",
      "model": "55",
      "modelName": "NF-e",
      "series": "001",
      "invoiceNumber": "000001234",
      "emissionType": "1"
    },
    "invoiceSummary": {
      "naturezaOperacao": "VENDA DE MERCADORIA",
      "crt": "3 - Regime Normal",
      "emitente": {
        "cnpj": "00000000000191",
        "nome": "EMPRESA EXEMPLO SA",
        "uf": "SP"
      },
      "destinatario": {
        "cnpj": "11222333000181",
        "nome": "CLIENTE B2B LTDA",
        "uf": "SP"
      },
      "totals": {
        "vProd": 1000,
        "vDesc": 0,
        "vFrete": 50,
        "vIPI": 0,
        "vST": 0,
        "vNF": 1050,
        "vTotTrib": 185
      }
    },
    "auditReport": {
      "status": "APPROVED",
      "mathConsistent": true,
      "cfopScopeConsistent": true,
      "sefazAuthorized": true,
      "anomalies": []
    },
    "tokenMetrics": {
      "rawXmlTokensEst": 4200,
      "cleanJsonTokensEst": 380,
      "tokensSaved": 3820,
      "savingsPercent": 90.9
    },
    "aiExecutiveBrief": "NF-e autorizada de R$ 1.050,00 com totais, impostos e CFOP interno consistentes.",
    "processingTimeMs": 14
  }
}