Timbrado

Servicio que realiza el timbrado de un comprobante CFDI 4.0 previamente sellado en formato XML.
En ambiente de pruebas se pueden usar certificados reales pero recomendamos hacer uso de los CSD de pruebas.

🛠 Url Pruebas : https://services.test.sw.com.mx

🧰 Url Producción : https://services.sw.com.mx

Timbrado multipart/form-data

Recibe el XML como archivo en un form-data.

Endpoint

MetodoRuta
POST/cfdi33/stamp/{version}

Autenticación y Headers

HeaderValue
AuthorizationBearer Token
Content-Typemultipart/form-data

Parámetros Path

PropiedadUsoDescripción
versionRequeridoVersión de la respuesta que devolverá el servicio.

Parámetros Form

PropiedadUsoDescripción
xmlRequeridoXML del comprobante a ser timbrado

Ejemplo Request

curl --request POST \
  --url http://services.test.sw.com.mx/cfdi33/stamp/v4/ \
  --header 'Authorization: Bearer $token' \
  --header 'Content-Type: multipart/form-data; boundary=---011000010111000001101001' \
  --form 'xml=cfdi.xml'

Ejemplo Response

Response Ok
{
    "data": {
        "cadenaOriginalSAT": "||1.1|05c519de-6d20-4258-88fb-c69a5970e927|2022-09-06T14:04:02|SPR190613I52|KVttNU/m3oEfJG/3efOsn3pUqZTuZ431FmfADTX+AyWyXAiP5HiAQ2D7L/LL7w/jfIUykZvkx5sa81VfXcD1wgi1ibiK2IAvojrRCgjUaQCOxSs029zsC7/ksU9Wtcb8nTSMy840QCGIdQF2wmpcsYmW713xvSHx2gVAQdopNfxJBC5NWlJH1KTBf0OrCsoOAdxejQDYNPniH6W6Y4yxF5Wg/0pIAX9kZB9y3+nbJzKqYml6ob0V8bExEGDFKblWlZ2JexGIldhRXFc4prwi3L05Q2NGlGN4dLEEK+oeTBSJRgEwlt/EYvtE1U1KUY79AqVx9+zNQxUEJMApUlZ1Kg==|30001000000400002495||",
        "noCertificadoSAT": "30001000000400002495",
        "noCertificadoCFDI": "30001000000400002434",
        "uuid": "05c519de-6d20-4258-88fb-c69a5970e927",
        "selloSAT": "qadm+mH3gZuYMnQZSWVoD/AEkekn8Mw1OSpM+9sD+9W7BIbagcWgITzxAPLe2t31QlwnqtohKOoFBkzzx3pyk8tp+8f1nse/lmQo+wsKR0qt6DquhcH5W6dLAMWc91kMy4vXbnuMPAKShl2f9MRQQzX07PPSNxqCuwTrBbPQKqWFw/K9dk1TnsRpwb52qa87srpY8wqIOgyLbbhx5ItTV0StGb0m6749p9BqsB0bOhPKIhPnkvpEnfXXZ+nccTJtC718/fP4sZqUnmJbcvjVAvNkiAhBWoeGRL9BBX+TO5zVX0D26pet0z0SgocoxWLToaRWgEhgjGP9EE2bf2+5QQ==",
        "selloCFDI": "KVttNU/m3oEfJG/3efOsn3pUqZTuZ431FmfADTX+AyWyXAiP5HiAQ2D7L/LL7w/jfIUykZvkx5sa81VfXcD1wgi1ibiK2IAvojrRCgjUaQCOxSs029zsC7/ksU9Wtcb8nTSMy840QCGIdQF2wmpcsYmW713xvSHx2gVAQdopNfxJBC5NWlJH1KTBf0OrCsoOAdxejQDYNPniH6W6Y4yxF5Wg/0pIAX9kZB9y3+nbJzKqYml6ob0V8bExEGDFKblWlZ2JexGIldhRXFc4prwi3L05Q2NGlGN4dLEEK+oeTBSJRgEwlt/EYvtE1U1KUY79AqVx9+zNQxUEJMApUlZ1Kg==",
        "fechaTimbrado": "2022-09-06T14:04:02",
        "qrCode": "iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAyeSURBVHhe7ZLRigW5rkPn/396LgUtEAurnKS8D8MlC/QgWXF7N/XPv5fLBveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFiMfzD///HOkBOepn3opF6c+qSP1dnOh+a4mGNlSHbeiBOepn3opF6c+qSP1dnOh+a4mGNmye1DXX92nHvudF8o57/KEvzmRSLlIeWK3/8bIlukfsLpPPfY7L5Rz3uUJf3MikXKR8sRu/42RLTx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DvOudStAL7/qcXqTeqSaZ3QbSwf5jqvkuaQ/zrncqQS+863N6kXqnmmR22yH8YclTgl541+edJ12fnmieesy960qkXsq/MLPlI/xByVOCXnjX550nXZ+eaJ56zL3rSqReyr8wsoWHrSrR9Zh713OR5l0uvFPlpOvJp1x4p8oF/S8Z+Ss6eFeJrsfcu56LNO9y4Z0qJ11PPuXCO1Uu6H/JyF/ZPZj95KlEN0/47rf3nCff5RJh7l1Xouul/ISRLbsHsZ88lejmCd/99p7z5LtcIsy960p0vZSfMLKFB8lT4tQniWpWiVSdFSWq7iOScuFvTyTovzCyJR1IiVOfJKpZJVJ1VpSouo9IyoW/PZGg/8LIlnQgJTovul7nO7q+5uzRi9SjRPKddjl9VzGyhQfJU6Lzout1vqPra84evUg9SiTfaZfTdxUjW3iQPCVWfSeRcrI6pwR9wt9W/ZR38J08JVL+hZEtPMiPdIlV30mknKzOKUGf8LdVP+UdfCdPiZR/YWTL7kFdn/PkKZFykebJ70rQC++6BL2Yyr8wsm33sK7PefKUSLlI8+R3JeiFd12CXkzlXxjZpsN2JehF10ueuWDu3Son3n2bk928Q+8oQT/JyFY/ekeCXnS95JkL5t6tcuLdtznZzTv0jhL0k/xm6+X/LfeDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLFveDuWxxP5jLBv/++3+wfIaLEGmXmwAAAABJRU5ErkJggg==",
        "cfdi": "<?xml version=\"1.0\" encoding=\"utf-8\"?><cfdi:Comprobante xsi:schemaLocation=\"http://www.sat.gob.mx/cfd/4 http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd\" Version=\"4.0\" Serie=\"Serie\" Folio=\"2080427802\" Fecha=\"2022-09-05T18:31:50\" Sello=\"KVttNU/m3oEfJG/3efOsn3pUqZTuZ431FmfADTX+AyWyXAiP5HiAQ2D7L/LL7w/jfIUykZvkx5sa81VfXcD1wgi1ibiK2IAvojrRCgjUaQCOxSs029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qm4sCJHCxA1c8Elfa2RQTCk0tAzllL4vOnI1GHkGJn65xokGsaU4B4D36xh7eWrfj4/pgWHmtoDAYa8wzSwo2GVCZOs+mtEgOQB91/g==\" CondicionesDePago=\"CondicionesDePago\" SubTotal=\"200\" Moneda=\"MXN\" TipoCambio=\"1\" Total=\"180\" TipoDeComprobante=\"I\" Exportacion=\"01\" MetodoPago=\"PUE\" LugarExpedicion=\"20000\" xmlns:cfdi=\"http://www.sat.gob.mx/cfd/4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><cfdi:InformacionGlobal Periodicidad=\"01\" Meses=\"01\" Año=\"2021\" /><cfdi:Emisor Rfc=\"EKU9003173C9\" Nombre=\"ESCUELA KEMPER URGATE\" RegimenFiscal=\"601\" /><cfdi:Receptor Rfc=\"XAXX010101000\" Nombre=\"PUBLICO EN GENERAL\" DomicilioFiscalReceptor=\"20000\" RegimenFiscalReceptor=\"616\" UsoCFDI=\"S01\" /><cfdi:Conceptos><cfdi:Concepto ClaveProdServ=\"50211503\" NoIdentificacion=\"UT421511\" Cantidad=\"1\" ClaveUnidad=\"H87\" Unidad=\"Pieza\" Descripcion=\"Cigarros\" ValorUnitario=\"200.00\" Importe=\"200.00\" ObjetoImp=\"02\"><cfdi:Impuestos><cfdi:Retenciones><cfdi:Retencion Base=\"200\" Impuesto=\"001\" TipoFactor=\"Tasa\" TasaOCuota=\"0.100000\" Importe=\"20\" /></cfdi:Retenciones></cfdi:Impuestos></cfdi:Concepto></cfdi:Conceptos><cfdi:Impuestos TotalImpuestosRetenidos=\"20\"><cfdi:Retenciones><cfdi:Retencion Impuesto=\"001\" Importe=\"20\" /></cfdi:Retenciones></cfdi:Impuestos><cfdi:Complemento><tfd:TimbreFiscalDigital xsi:schemaLocation=\"http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd\" Version=\"1.1\" UUID=\"05c519de-6d20-4258-88fb-c69a5970e927\" FechaTimbrado=\"2022-09-06T14:04:02\" RfcProvCertif=\"SPR190613I52\" SelloCFD=\"KVttNU/m3oEfJG/3efOsn3pUqZTuZ431FmfADTX+AyWyXAiP5HiAQ2D7L/LL7w/jfIUykZvkx5sa81VfXcD1wgi1ibiK2IAvojrRCgjUaQCOxSs029zsC7/ksU9Wtcb8nTSMy840QCGIdQF2wmpcsYmW713xvSHx2gVAQdopNfxJBC5NWlJH1KTBf0OrCsoOAdxejQDYNPniH6W6Y4yxF5Wg/0pIAX9kZB9y3+nbJzKqYml6ob0V8bExEGDFKblWlZ2JexGIldhRXFc4prwi3L05Q2NGlGN4dLEEK+oeTBSJRgEwlt/EYvtE1U1KUY79AqVx9+zNQxUEJMApUlZ1Kg==\" NoCertificadoSAT=\"30001000000400002495\" SelloSAT=\"qadm+mH3gZuYMnQZSWVoD/AEkekn8Mw1OSpM+9sD+9W7BIbagcWgITzxAPLe2t31QlwnqtohKOoFBkzzx3pyk8tp+8f1nse/lmQo+wsKR0qt6DquhcH5W6dLAMWc91kMy4vXbnuMPAKShl2f9MRQQzX07PPSNxqCuwTrBbPQKqWFw/K9dk1TnsRpwb52qa87srpY8wqIOgyLbbhx5ItTV0StGb0m6749p9BqsB0bOhPKIhPnkvpEnfXXZ+nccTJtC718/fP4sZqUnmJbcvjVAvNkiAhBWoeGRL9BBX+TO5zVX0D26pet0z0SgocoxWLToaRWgEhgjGP9EE2bf2+5QQ==\" xmlns:tfd=\"http://www.sat.gob.mx/TimbreFiscalDigital\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" /></cfdi:Complemento></cfdi:Comprobante>"
    },
    "status": "success"
}
Response Error
{
    "message": "301 - La estructura del comprobante es incorrecta.",
    "messageDetail": "Error al leer el documento XML. La estructura del documento no es un Xml valido y/o la codificación del documento no es UTF8. The 'cfdi:Retencion' start tag on line 1 position 3717 does not match the end tag of 'cfdi:Retenciones'. Line 1, position 3767.",
    "data": null,
    "status": "error"
}

Timbrado application/json

Recibe el XML como string en un JSON Body.

Endpoint

MetodoRuta
POST /cfdi33/stamp/json/{version}/{format}

Autenticación y Headers

AuthorizationBearer Token
Content-Typeapplication/json

Parámetros Path

PropiedadUsoDescripción
versionRequeridoVersión de la respuesta que devolverá el servicio.
formatOpcional(Default=b64) Parámetro para especificar si el XML esta en formato base 64

Parámetros JSON

PropiedadUsoTipoDescripción
dataRequeridostringXML del comprobante a ser timbrado

Ejemplo Request

curl --request POST \
  --url http://services.test.sw.com.mx/cfdi33/stamp/json/v4 \
  --header 'Authorization: Bearer $token' \
  --header 'Content-Type: application/json' \
  --data '{"data":"<?xml version=\"1.0\" encoding=\"utf-8\"?><cfdi:Comprobante xsi:schemaLocation=\"http://www.sat.gob.mx/cfd/4 http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd\" Version=\"4.0\" Serie=\"Serie\" Folio=\"Folio\" Fecha=\"2022-05-02T09:05:31\" Sello=\"Yb/1T/nZk2TFxD0gjIanOQYVM9smABn9VSzJndUvn6/HLL205hdlmo6SP3g9Z/jH+4287JlAfydwYss4yM5SAXMB5wFQGkOiP82m5Slf5dxKqykdhMndQaCBInYbZshfhhqqZUT/JUqY2b6rCTZCQYM6pZ3SVkz0msnA5liqDhUxVv87UBzvKmA/AzUhPbS+jYZeycLSVfSIgQR/2SH1XQFtFrrox7HgJFLA4HbBAL8EXWsO4ccQKtUg2YMhl18+srJYE0b3HUEdcX5JkuZfoiso4zTgGYBq9V+XlUVsrNFjKeYeHfIZJD45gvF99kwOiO57FkrwDu2W8Uah+TAxlA==\" CondicionesDePago=\"CondicionesDePago\" SubTotal=\"200\" Descuento=\"1\" Moneda=\"AMD\" TipoCambio=\"1\" Total=\"199.16\" TipoDeComprobante=\"I\" Exportacion=\"01\" MetodoPago=\"PPD\" FormaPago=\"99\" LugarExpedicion=\"20000\" xmlns:cfdi=\"http://www.sat.gob.mx/cfd/4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" NoCertificado=\"30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=\"65000\" RegimenFiscalReceptor=\"601\" UsoCFDI=\"G01\" />  <cfdi:Conceptos>    <cfdi:Concepto ClaveProdServ=\"50211503\" Cantidad=\"1\" ClaveUnidad=\"H87\" Unidad=\"Pieza\" Descripcion=\"Cigarros\" ValorUnitario=\"200.00\" Descuento=\"1\" Importe=\"200.00\" ObjetoImp=\"02\">      <cfdi:Impuestos>        <cfdi:Traslados>          <cfdi:Traslado Base=\"1\" Importe=\"0.16\" Impuesto=\"002\" TasaOCuota=\"0.160000\" TipoFactor=\"Tasa\" />        </cfdi:Traslados>        <cfdi:Retenciones>          <cfdi:Retencion Base=\"1\" Impuesto=\"001\" TipoFactor=\"Tasa\" TasaOCuota=\"0.100000\" Importe=\"0.00\" />          <cfdi:Retencion Base=\"1\" Impuesto=\"002\" TipoFactor=\"Tasa\" TasaOCuota=\"0.106666\" Importe=\"0.00\" />        </cfdi:Retenciones>      </cfdi:Impuestos>    </cfdi:Concepto>  </cfdi:Conceptos>  <cfdi:Impuestos TotalImpuestosRetenidos=\"0.00\" TotalImpuestosTrasladados=\"0.16\">    <cfdi:Retenciones>      <cfdi:Retencion Impuesto=\"001\" Importe=\"0.00\" />      <cfdi:Retencion Impuesto=\"002\" Importe=\"0.00\" />    </cfdi:Retenciones>    <cfdi:Traslados>      <cfdi:Traslado Base=\"1\" Importe=\"0.16\" Impuesto=\"002\" TasaOCuota=\"0.160000\" TipoFactor=\"Tasa\" />    </cfdi:Traslados>  </cfdi:Impuestos></cfdi:Comprobante>"}'

Ejemplo Response

Response Ok
{
    "data": {
        "cadenaOriginalSAT": "||1.1|7925fffa-fea3-44d3-8b48-904993f798e8|2022-09-06T14:24:17|SPR190613I52|DSnS6n28VUCBw3G/drw+WJvOYtV7c9O+wYIDFQqJbmGeeoAWuqlgUYPvw9e3c0Syzk+qZibsI6Cy7994Xcsxdvnrf5JwpQiCqj1duYxSmP6THYsesqv+IJkVbivs3q+k64vIxjbwimhpZXBsLxbkabZwcnhCxYx09OOS1lATUEysX8W+zhocgnZPPZqdqxETz2W85K0cK83BTssR0LWrVtsUrfdNFNQ1/pKU5m5nqYStbY+aK2l7RSHaPbb3i3+BdVJuGY4HJTU/LLMPvHU9L70I9XqBDkP9Mt19kpYMGmK5/FfwJKY2PvL58sLdQ/Di8i7f7gNesggLV4oZ8b5C8A==|30001000000400002495||",
        "noCertificadoSAT": "30001000000400002495",
        "noCertificadoCFDI": "30001000000400002434",
        "uuid": "7925fffa-fea3-44d3-8b48-904993f798e8",
        "selloSAT": "aY/C56tLyTqAlG5h4K3FQHWaHvtFgD44ZbDgclVRiUXpOdHHVCHRRTfvXvimM/YmHCeoOS0NwvWVsChpGXfcmv7rLj9WlXK8nRfSZhnG0aCPH5Oo47StvApKPMoYIoudCUqV+76Zga7Ib/EcZcYrzC80Vgzg/ISh1P2vxo7aOzP9QgmGDzNbzOLfPImjgz2MBzTFdKP4pPG6G0DUP9Sf+KbgN0g+1TesopzQ/cUtpY0bkkBZIY8FP7Yj+RmvwhNOa/8jPkfpd6kbJwoIVkCHcRJYOsqOdMG4LKb8DP+sV/Ry4qqC3vbOUpp7viaB3yp7ttnLQMnIrgkcLZA+dTSUOA==",
        "selloCFDI": "DSnS6n28VUCBw3G/drw+WJvOYtV7c9O+wYIDFQqJbmGeeoAWuqlgUYPvw9e3c0Syzk+qZibsI6Cy7994Xcsxdvnrf5JwpQiCqj1duYxSmP6THYsesqv+IJkVbivs3q+k64vIxjbwimhpZXBsLxbkabZwcnhCxYx09OOS1lATUEysX8W+zhocgnZPPZqdqxETz2W85K0cK83BTssR0LWrVtsUrfdNFNQ1/pKU5m5nqYStbY+aK2l7RSHaPbb3i3+BdVJuGY4HJTU/LLMPvHU9L70I9XqBDkP9Mt19kpYMGmK5/FfwJKY2PvL58sLdQ/Di8i7f7gNesggLV4oZ8b5C8A==",
        "fechaTimbrado": "2022-09-06T14:24:17",
        "qrCode": "iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAAAXNSR0IArs4c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:Comprobante xsi:schemaLocation=\"http://www.sat.gob.mx/cfd/4 http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd\" Version=\"4.0\" Serie=\"Serie\" Folio=\"2080427802\" Fecha=\"2022-09-05T20:31:50\" Sello=\"DSnS6n28VUCBw3G/drw+WJvOYtV7c9O+wYIDFQqJbmGeeoAWuqlgUYPvw9e3c0Syzk+qZibsI6Cy7994Xcsxdvnrf5JwpQiCqj1duYxSmP6THYsesqv+IJkVbivs3q+k64vIxjbwimhpZXBsLxbkabZwcnhCxYx09OOS1lATUEysX8W+zhocgnZPPZqdqxETz2W85K0cK83BTssR0LWrVtsUrfdNFNQ1/pKU5m5nqYStbY+aK2l7RSHaPbb3i3+BdVJuGY4HJTU/LLMPvHU9L70I9XqBDkP9Mt19kpYMGmK5/FfwJKY2PvL58sLdQ/Di8i7f7gNesggLV4oZ8b5C8A==\" FormaPago=\"99\" NoCertificado=\"30001000000400002434\" Certificado=\"MIIFuzCCA6OgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0MzQwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjE3MTk0NDE0WhcNMjMwNjE3MTk0NDE0WjCB4jEnMCUGA1UEAxMeRVNDVUVM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DnsemS2o5Gl08zI4iYtt3L40gAZ60NPh31kVLnYNsmvfNxYyKp+AeJtDHyW9w7ftM0Hoi+BuRmcAQSKFV3pk8j51la+jrRBrAUv8blbRcQ5BiZUwJzHFEKIwTsRGoRyEx96sNnB03n6GTwjIGz92SmLdNl95r9rkvp+2m4S6q1lPuXaFg7DGBrXWC8iyqeWE2iobdwIIuXPTMVqQb12m1dAkJVRO5NdHnP/MpqOvOgLqoZBNHGyBg4Gqm4sCJHCxA1c8Elfa2RQTCk0tAzllL4vOnI1GHkGJn65xokGsaU4B4D36xh7eWrfj4/pgWHmtoDAYa8wzSwo2GVCZOs+mtEgOQB91/g==\" CondicionesDePago=\"CondicionesDePago\" SubTotal=\"200\" Moneda=\"MXN\" TipoCambio=\"1\" Total=\"180\" TipoDeComprobante=\"I\" Exportacion=\"01\" MetodoPago=\"PUE\" LugarExpedicion=\"20000\" xmlns:cfdi=\"http://www.sat.gob.mx/cfd/4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><cfdi:InformacionGlobal Periodicidad=\"01\" Meses=\"01\" Año=\"2021\" /><cfdi:Emisor Rfc=\"EKU9003173C9\" Nombre=\"ESCUELA KEMPER URGATE\" RegimenFiscal=\"601\" /><cfdi:Receptor Rfc=\"XAXX010101000\" Nombre=\"PUBLICO EN GENERAL\" DomicilioFiscalReceptor=\"20000\" RegimenFiscalReceptor=\"616\" UsoCFDI=\"S01\" /><cfdi:Conceptos><cfdi:Concepto ClaveProdServ=\"50211503\" NoIdentificacion=\"UT421511\" Cantidad=\"1\" ClaveUnidad=\"H87\" Unidad=\"Pieza\" Descripcion=\"Cigarros\" ValorUnitario=\"200.00\" Importe=\"200.00\" ObjetoImp=\"02\"><cfdi:Impuestos><cfdi:Retenciones><cfdi:Retencion Base=\"200\" Impuesto=\"001\" TipoFactor=\"Tasa\" TasaOCuota=\"0.100000\" Importe=\"20\" /></cfdi:Retenciones></cfdi:Impuestos></cfdi:Concepto></cfdi:Conceptos><cfdi:Impuestos TotalImpuestosRetenidos=\"20\"><cfdi:Retenciones><cfdi:Retencion Impuesto=\"001\" Importe=\"20\" /></cfdi:Retenciones></cfdi:Impuestos><cfdi:Complemento><tfd:TimbreFiscalDigital xsi:schemaLocation=\"http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd\" Version=\"1.1\" UUID=\"7925fffa-fea3-44d3-8b48-904993f798e8\" FechaTimbrado=\"2022-09-06T14:24:17\" RfcProvCertif=\"SPR190613I52\" SelloCFD=\"DSnS6n28VUCBw3G/drw+WJvOYtV7c9O+wYIDFQqJbmGeeoAWuqlgUYPvw9e3c0Syzk+qZibsI6Cy7994Xcsxdvnrf5JwpQiCqj1duYxSmP6THYsesqv+IJkVbivs3q+k64vIxjbwimhpZXBsLxbkabZwcnhCxYx09OOS1lATUEysX8W+zhocgnZPPZqdqxETz2W85K0cK83BTssR0LWrVtsUrfdNFNQ1/pKU5m5nqYStbY+aK2l7RSHaPbb3i3+BdVJuGY4HJTU/LLMPvHU9L70I9XqBDkP9Mt19kpYMGmK5/FfwJKY2PvL58sLdQ/Di8i7f7gNesggLV4oZ8b5C8A==\" NoCertificadoSAT=\"30001000000400002495\" SelloSAT=\"aY/C56tLyTqAlG5h4K3FQHWaHvtFgD44ZbDgclVRiUXpOdHHVCHRRTfvXvimM/YmHCeoOS0NwvWVsChpGXfcmv7rLj9WlXK8nRfSZhnG0aCPH5Oo47StvApKPMoYIoudCUqV+76Zga7Ib/EcZcYrzC80Vgzg/ISh1P2vxo7aOzP9QgmGDzNbzOLfPImjgz2MBzTFdKP4pPG6G0DUP9Sf+KbgN0g+1TesopzQ/cUtpY0bkkBZIY8FP7Yj+RmvwhNOa/8jPkfpd6kbJwoIVkCHcRJYOsqOdMG4LKb8DP+sV/Ry4qqC3vbOUpp7viaB3yp7ttnLQMnIrgkcLZA+dTSUOA==\" xmlns:tfd=\"http://www.sat.gob.mx/TimbreFiscalDigital\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" /></cfdi:Complemento></cfdi:Comprobante>"
    },
    "status": "success"
}
Response Error
{
    "message": "301 - La estructura del comprobante es incorrecta.",
    "messageDetail": "Error al leer el documento XML. La estructura del documento no es un Xml valido y/o la codificación del documento no es UTF8. ' ' is an unexpected token. The expected token is '>'. Line 1, position 3761.",
    "data": null,
    "status": "error"
}

Consulta nuestras librerías para el timbrado.


En SW® somos mejores para TI, es por ello que tu opinión es muy importantepor favor ayúdanos calificando este articulo y dejando tus comentarios.

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Updated on diciembre 13, 2023

Article Attachments

Related Articles