{"slug":"api-resetparatodos-com-x402-v1-guatemala-fel-validate-37ddd0","title":"Validate a Guatemalan FEL electronic invoice (DTE) XML against the official SAT ","host":"api.resetparatodos.com","method":"POST","resource":"https://api.resetparatodos.com/x402/v1/guatemala/fel/validate","category":"other","description":"Validate a Guatemalan FEL electronic invoice (DTE) XML against the official SAT XML schema (GT_Documento). Returns whether it is schema-valid and the schema errors if not. Structural/schema validation only.","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":884,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<dte:GTDocumento xmlns:dte=\"http://www.sat.gob.gt/dte/fel/0.1.0\" Version=\"0.4\">\n  <dte:SAT ClaseDocumento=\"dte\">\n    <dte:DTE ID=\"DatosCertificados\">\n      <dte:DatosEmision ID=\"DatosEmision\">\n        <dte:DatosGenerales CodigoMoneda=\"GTQ\" FechaHoraEmision=\"2026-09-04T10:15:00-06:00\" Tipo=\"FACT\"/>\n        <dte:Emisor AfiliacionIVA=\"GEN\" CodigoEstablecimiento=\"1\" CorreoEmisor=\"facturacion@ejemplo.gt\" NITEmisor=\"12345678\" NombreComercial=\"EMPRESA DEMO\" NombreEmisor=\"EMPRESA DEMO, SOCIEDAD ANONIMA\">\n          <dte:DireccionEmisor>\n            <dte:Direccion>5A AVENIDA 10-20 ZONA 1</dte:Direccion>\n            <dte:CodigoPostal>01001</dte:CodigoPostal>\n            <dte:Municipio>GUATEMALA</dte:Municipio>\n            <dte:Departamento>GUATEMALA</dte:Departamento>\n            <dte:Pais>GT</dte:Pais>\n          </dte:DireccionEmisor>\n        </dte:Emisor>\n        <dte:Receptor CorreoReceptor=\"cliente@ejemplo.gt\" IDReceptor=\"CF\" NombreReceptor=\"CONSUMIDOR FINAL\">\n          <dte:DireccionReceptor>\n            <dte:Direccion>CIUDAD</dte:Direccion>\n            <dte:CodigoPostal>01001</dte:CodigoPostal>\n            <dte:Municipio>GUATEMALA</dte:Municipio>\n            <dte:Departamento>GUATEMALA</dte:Departamento>\n            <dte:Pais>GT</dte:Pais>\n          </dte:DireccionReceptor>\n        </dte:Receptor>\n        <dte:Frases>\n          <dte:Frase CodigoEscenario=\"1\" TipoFrase=\"1\"/>\n        </dte:Frases>\n        <dte:Items>\n          <dte:Item BienOServicio=\"B\" NumeroLinea=\"1\">\n            <dte:Cantidad>1</dte:Cantidad>\n            <dte:UnidadMedida>UND</dte:UnidadMedida>\n            <dte:Descripcion>SERVICIO DE EJEMPLO</dte:Descripcion>\n            <dte:PrecioUnitario>100.00</dte:PrecioUnitario>\n            <dte:Precio>100.00</dte:Precio>\n            <dte:Descuento>0.00</dte:Descuento>\n            <dte:Impuestos>\n              <dte:Impuesto>\n                <dte:NombreCorto>IVA</dte:NombreCorto>\n                <dte:CodigoUnidadGravable>1</dte:CodigoUnidadGravable>\n                <dte:MontoGravable>89.29</dte:MontoGravable>\n                <dte:MontoImpuesto>10.71</dte:MontoImpuesto>\n              </dte:Impuesto>\n            </dte:Impuestos>\n            <dte:Total>100.00</dte:Total>\n          </dte:Item>\n        </dte:Items>\n        <dte:Totales>\n          <dte:TotalImpuestos>\n            <dte:TotalImpuesto NombreCorto=\"IVA\" TotalMontoImpuesto=\"10.71\"/>\n          </dte:TotalImpuestos>\n          <dte:GranTotal>100.00</dte:GranTotal>\n        </dte:Totales>\n      </dte:DatosEmision>\n    </dte:DTE>\n  </dte:SAT>\n  <ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\n    <ds:SignedInfo>\n      <ds:CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"/>\n      <ds:SignatureMethod Algorithm=\"http://www.w3.org/2001/04/xmldsig-more#rsa-sha256\"/>\n      <ds:Reference URI=\"#DatosCertificados\">\n        <ds:DigestMethod Algorithm=\"http://www.w3.org/2001/04/xmlenc#sha256\"/>\n        <ds:DigestValue>bXVlc3RyYS1kaWdlc3Qtbm8tdmFsaWRv</ds:DigestValue>\n      </ds:Reference>\n    </ds:SignedInfo>\n    <ds:SignatureValue>bXVlc3RyYS1maXJtYS1kZS1lamVtcGxvLW5vLXZhbGlkYQ==</ds:SignatureValue>\n  </ds:Signature>\n</dte:GTDocumento>\n"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"xml":{"description":"FEL DTE XML document","type":"string"},"xml_base64":{"description":"Alternatively, the XML base64-encoded","type":"string"}},"required":["xml"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"required":["ok","request_id","product","method_version","deterministic","checked_at","result","evidence","payment","disclaimer"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":863,"error":null}],"description_full":"Validate a Guatemalan FEL electronic invoice (DTE) XML against the official SAT XML schema (GT_Documento). Returns whether it is schema-valid and the schema errors if not. Structural/schema validation only.","last_updated":"2026-10-29T00:11:20.866Z","schemes":["exact"]}