Skip to content

Instantly share code, notes, and snippets.

@umiphos
Last active August 19, 2019 04:43
Show Gist options
  • Save umiphos/4baf711e25f65d161ee33f02785bc565 to your computer and use it in GitHub Desktop.
Save umiphos/4baf711e25f65d161ee33f02785bc565 to your computer and use it in GitHub Desktop.
XML con error, demostrando diferencias
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<o:Security xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" s:mustUnderstand="1">
<u:Timestamp u:Id="_0">
<u:Created>2019-08-19T04:41:16.082Z</u:Created>
<u:Expires>2019-08-19T04:46:16.082Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<sendBillResponse xmlns="http://service.sunat.gob.pe">
<applicationResponse xmlns="">UEsDBBQAAAAIACglE0/CthWdOQ4AAJ4cAAAiAAAAUi0yMDUwNzc5NTY0Mi0wMS1GRTAxLTAwMDAyNTAwLnhtbNVZWXOryJJ+n4j5Dwr3o66PQKDNYftGAQUCARKrhCYmJtiE2BEgAfr1U5K8Hvt09+3bL9dhhYvMrKxcvxTlx3+2adI7+WUV5tnTHf4Du+v5mZt7YRY83YVVfj+djmb3+N0/n//7vx7t8gEURRK6do3EVb8q8qzye0hFVj3Y5dPdscwecrsKq4fMTv3qoSp8N9y9yD8cneShcvd+aj+0lfedqvvh3Ys2v63/RXV0nqZ5Btvazy7OoEek0s/q6l2p67h/SSmFxN1vFdp/TSEIgtIP7Nr/TqlXPd3t67p4GAyapvnRED/yMhgMMQwbYLMBkvGqMPjtDiWk13tEcXowKPHN7epK/obxQn/hfAhThlb186MWBpldH0u/x3tPd5cnJgzCXZI3Sw3qflX/3wqqxouNf87Aq07f47Nd/vxI21meoaAk4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bbkKv7htMHvH3fjfzH0Rv5Vhq4uXEP1Ceb+COh+F+r+GI9/F5NemV+tekXlsAiRK3+nveQY1eVsSIz/DXu/Mezn2L91zuPg+38sPv8/UEsBAhQAFAAAAAgAKCUTT8K2FZ05DgAAnhwAACIAAAAAAAAAAAAAAAAAAAAAAFItMjA1MDc3OTU2NDItMDEtRkUwMS0wMDAwMjUwMC54bWxQSwUGAAAAAAEAAQBQAAAAeQ4AAAAA</applicationResponse>
</sendBillResponse>
</s:Body>
</s:Envelope>
<ar:ApplicationResponse xmlns:ar="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="SignDigiflowOSETest_PERU">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/>
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<DigestValue>PNqetf9eE9Y6oJyMzj6MssYuR3GsLlH8/KQyLfHjW1w=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>OJgMrEGGDdBFb9ZLBRPd0R8CxlNzLTjUoKagCQp10ld9wQq/0Pe+jBGu1KLasM9ERpM88rnNEBHAl0cfshPci/PBGfJkP1qfJACew7K5Ufp0hdCi4r55NhaA1sJWcSWnSiy6sgS6ipSw1qPT8ZavqiCfzePi9/WdyCibQSjlE4s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KlDDLFqlNsKcy83GbrlpVXG+WuRVKCNiDpeb+2oyyBWygbn5dwtkE8gQbtoIr+Hx8NVoQmhGQxV46UfALqKJYHHQE8ykT3CxOv6FTlnVbo7u/+yQhSQUFpBeDyQSH+rt3KFxIAcbCdlyegSiwHbA/GeYChTAZJw3RM4BDfyGkiDlqKhdpyHLsxcbYrVOdL/w7RcKoVojJQrBtJuZxTGgIIS1mAgnq+SyyWmIOAX84xK74nTPcBbkKiLASLkdkgTT5JO0CRqjAQTm2mJ0Y8A1MkAo91dP1ALGJWF0FJLRXwxlLpIW3lebzhsfhJrfG5FKsvu5AyGIzUf7QP7Th4i9W/HObbSjG6Qq52gw6eEVl34Ne40jOSB0wsX8TpPs6+MbJoUzad42QqxDF8wM+pCIvTuGgJeu72LabftC4ySacHYwNUjTb+Y0AE+s3mAe4SYycJi8xp48+Y7IpHCfoczUJTyojQ==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
<cbc:CustomizationID>1.0</cbc:CustomizationID>
<cbc:ID>302a3606-5171-47b8-8ca7-f351ce70f724</cbc:ID>
<cbc:IssueDate>2019-08-18</cbc:IssueDate>
<cbc:IssueTime>23:41:14.75465</cbc:IssueTime>
<cbc:ResponseDate>2019-08-18</cbc:ResponseDate>
<cbc:ResponseTime>23:41:14.75465</cbc:ResponseTime>
<cac:SenderParty>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="6" schemeAgencyName="PE:SUNAT" schemeURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo6">20507795642</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:SenderParty>
<cac:ReceiverParty>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="6" schemeAgencyName="PE:SUNAT" schemeURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo6">20600948131</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:ReceiverParty>
<cac:DocumentResponse>
<cac:Response>
<cbc:ResponseCode listAgencyName="PE:SUNAT">0</cbc:ResponseCode>
<cbc:Description>La factura numero 20507795642-FE01-00002500, ha sido aceptada</cbc:Description>
<cac:Status>
<cbc:StatusReasonCode listURI="urn:pe:gob:sunat:cpe:see:gem:codigos:codigoretorno">4331</cbc:StatusReasonCode>
<cbc:StatusReason>Debe consignar obligatoriamente Codigo de producto SUNAT o Codigo de producto GTIN en las Linea:[1,] </cbc:StatusReason>
</cac:Status>
</cac:Response>
<cac:DocumentReference>
<cbc:ID>FE01-00002500</cbc:ID>
<cbc:IssueDate>2019-08-18</cbc:IssueDate>
<cbc:IssueTime>00:00:00.00000</cbc:IssueTime>
<cbc:DocumentTypeCode>01</cbc:DocumentTypeCode>
<cac:Attachment>
<cac:ExternalReference>
<cbc:DocumentHash>50IsJbp0A07ZWRKbX/gpxKFJ6VA=</cbc:DocumentHash>
</cac:ExternalReference>
</cac:Attachment>
</cac:DocumentReference>
<cac:IssuerParty>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="6">20507795642</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:IssuerParty>
<cac:RecipientParty>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="6">20462509236</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:RecipientParty>
</cac:DocumentResponse>
</ar:ApplicationResponse>
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<o:Security xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" s:mustUnderstand="1">
<u:Timestamp u:Id="_0">
<u:Created>2019-08-19T04:18:21.605Z</u:Created>
<u:Expires>2019-08-19T04:23:21.605Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring xml:lang="es-PE">1033</faultstring>
<detail>
<message xmlns="http://service.sunat.gob.pe">El comprobante fue registrado previamente con otros datos&#xD; Detalle: &#xD; ' ticket: 20190000000000020772468 error: Documento ya existe: [1-FE01-17] '</message>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment