Files
enterprise-addons/l10n_co_dian/tests/attachments/commercial_event_attached_document.xml
T

151 lines
15 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<AttachedDocument xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:xades141="http://uri.etsi.org/01903/v1.4.1#" xmlns:ccts="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:AttachedDocument-2">
<cbc:UBLVersionID>UBL 2.1</cbc:UBLVersionID>
<cbc:CustomizationID>Documentos adjuntos</cbc:CustomizationID>
<cbc:ProfileID>DIAN 2.1</cbc:ProfileID>
<cbc:ProfileExecutionID>2</cbc:ProfileExecutionID>
<cbc:ID>SETP/2024/000011</cbc:ID>
<cbc:UUID schemeName="CUFE-SHA384">c6a893e8d137cb0f71bfaa0371a116391c262a8d13113a2ea0025076774b8a1f5bc694e95b5194b1202857f280b27732</cbc:UUID>
<cbc:IssueDate>2024-01-29</cbc:IssueDate>
<cbc:IssueTime>19:00:00-05:00</cbc:IssueTime>
<cbc:DocumentType>Contenedor de Factura Electrónica</cbc:DocumentType>
<cbc:ParentDocumentID>SETP/2024/000011</cbc:ParentDocumentID>
<cac:SenderParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>CO Company Test</cbc:RegistrationName>
<cbc:CompanyID schemeName="31" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)" schemeAgencyID="195" schemeID="5" schemeVersionID="1">1018419008</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>01</cbc:ID>
<cbc:Name>IVA</cbc:Name>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:SenderParty>
<cac:ReceiverParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>CO Company Test</cbc:RegistrationName>
<cbc:CompanyID schemeName="31" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)" schemeAgencyID="195" schemeID="5" schemeVersionID="1">1018419008</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>01</cbc:ID>
<cbc:Name>IVA</cbc:Name>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:ReceiverParty>
<cac:Attachment>
<cac:ExternalReference>
<cbc:MimeCode>text/xml</cbc:MimeCode>
<cbc:EncodingCode>UTF-8</cbc:EncodingCode>
<cbc:Description>___ignore___</cbc:Description>
</cac:ExternalReference>
</cac:Attachment>
<cac:ParentDocumentLineReference>
<cbc:LineID>1</cbc:LineID>
<cac:DocumentReference>
<cbc:ID>SETP9920250631</cbc:ID>
<cbc:UUID schemeName="CUFE-SHA384">c6a893e8d137cb0f71bfaa0371a116391c262a8d13113a2ea0025076774b8a1f5bc694e95b5194b1202857f280b27732</cbc:UUID>
<cbc:IssueDate>2025-08-14</cbc:IssueDate>
<cbc:DocumentType>ApplicationResponse</cbc:DocumentType>
<cac:Attachment>
<cac:ExternalReference>
<cbc:MimeCode>text/xml</cbc:MimeCode>
<cbc:EncodingCode>UTF-8</cbc:EncodingCode>
<cbc:Description><![CDATA[<ApplicationResponse xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:sts="dian:gov:co:facturaelectronica:Structures-2-1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<sts:DianExtensions>
<sts:InvoiceSource>
<cbc:IdentificationCode listAgencyID="6" listAgencyName="United Nations Economic Commission for Europe" listSchemeURI="urn:oasis:names:specification:ubl:codelist:gc:CountryIdentificationCode-2.1">CO</cbc:IdentificationCode>
</sts:InvoiceSource>
<sts:SoftwareProvider>
<sts:ProviderID schemeID="4" schemeName="31" schemeAgencyID="195" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)">800197268</sts:ProviderID>
<sts:SoftwareID schemeAgencyID="195" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)">...</sts:SoftwareID>
</sts:SoftwareProvider>
<sts:SoftwareSecurityCode schemeAgencyID="195" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)">...</sts:SoftwareSecurityCode>
<sts:AuthorizationProvider>
<sts:AuthorizationProviderID schemeID="4" schemeName="31" schemeAgencyID="195" schemeAgencyName="CO, DIAN (Dirección de Impuestos y Aduanas Nacionales)">800197268</sts:AuthorizationProviderID>
</sts:AuthorizationProvider>
</sts:DianExtensions>
</ext:ExtensionContent>
</ext:UBLExtension>
<ext:UBLExtension>
<ext:ExtensionContent><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference Id="Reference-af962594-9b42-4735-8fcd-cc83b950956e" URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>i4pxIvQatoKhuPTIoGiAC+3daCJFbTxzTa69fJdOC1U=</ds:DigestValue></ds:Reference><ds:Reference Id="ReferenceKeyInfo" URI="#Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716-KeyInfo"><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>Q6KRL7r/ByokC3800vvATTMQoH8eLlVglH6ivHB4oZo=</ds:DigestValue></ds:Reference><ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#xmldsig-Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716-signedprops"><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>46bXv/S1VadjX7xXadqxGvYd3N1QzkRacgIBep6k2pA=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue Id="SignatureValue-c2b55448-ce64-41e0-a97e-74c2bd9ba716">abMaQEBKW4mCSERbFMftzx7+mN95jIFgfMqilKvaR7m8oRkO8eywqeVqSX+L7+QdkboyXQNKjJsMDj102uBDvJDx3MSh26JI3LQXXJVKwSJz0L4r4suNg6VChVYyhLUqpjfbGTHWvw08x83/aQt8Ur8CgxzKJi/irj1TgCMGaj3+NJIDcFzT42whAZ9vYagoI5todPRFOmDYCztusiiLBb51tFoRWzbH6YoA2hIXUnkdVB3h3ovxhJWX/G+cfmVogmcLYy2JXy6gRhiUTVanNtMtaEVuWxi3lu2NIdhIFNLkq20ff27Mdlnvhdd0vwGI6607ux44ZJSGGBx2OiUliQ==</ds:SignatureValue><ds:KeyInfo Id="Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716-KeyInfo"><ds:X509Data><ds:X509Certificate>MIIHVjCCBT6gAwIBAgIKKfJjIKoEFNsBSDANBgkqhkiG9w0BAQsFADCBhjEeMBwGCSqGSIb3DQEJARYPaW5mb0Bnc2UuY29tLmNvMSUwIwYDVQQDExxBdXRvcmlkYWQgU3Vib3JkaW5hZGEgMDEgR1NFMQwwCgYDVQQLEwNQS0kxDDAKBgNVBAoTA0dTRTEUMBIGA1UEBxMLQm9nb3RhIEQuQy4xCzAJBgNVBAYTAkNPMB4XDTIzMTIyMDE0MDUxOVoXDTI1MTIxOTE0MDUxOFowggEpMRQwEgYDVQQJDAtD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jMOIhDSoml3bGfjCtLPIGa5F+2SKGNkAbWFkVTlyDKaEH4bp94r/gYQS6EH14Xo7txkXA==</ds:X509Certificate></ds:X509Data><ds:KeyValue><ds:RSAKeyValue><ds:Modulus>tWs5fz5itJqoQso9/1bjGCG5QmXB+fap4mQmdIE5NDUV+swjUcz7Na0gcTIAOxejr9XPybN1dbyZlI871J2sB67VUSJ9Mt+kF0n6w25sr1gGqEp36RCHCprqmpJPwWitLLrflpp+xNnu2BPOpO365RjjaPqnX7uu3uOEFxzJZqyLu7bGuB9Ob/pQww1KlHbQ8ThHMzRQ/aHIR1DU0NRo9D3Z7u/IyTvbpBrRXy6UWqrlHyS/uDzct2RZvUH6hwt1TlZWRJp6oa0IwcewJ1cRRvuzBwXO/FtQTvkv10x1sjhi906JMqUZivilIpo72H/7i4uhjF0Jwo8iwLSTYH1/Bw==</ds:Modulus><ds:Exponent>AQAB</ds:Exponent></ds:RSAKeyValue></ds:KeyValue></ds:KeyInfo><ds:Object Id="XadesObjectId-864fd740-de55-420d-bd27-e74a6256d72d"><xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Id="QualifyingProperties-6fc21908-955e-4857-b766-e0e62aea2587" Target="#Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716"><xades:SignedProperties Id="xmldsig-Signature-c2b55448-ce64-41e0-a97e-74c2bd9ba716-signedprops"><xades:SignedSignatureProperties><xades:SigningTime>2025-08-14T01:57:54+00:00</xades:SigningTime><xades:SigningCertificate><xades:Cert><xades:CertDigest><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>BJbBGalZ6U+wEJrRUD69hteZS82kztgHYNSMJsw4P5I=</ds:DigestValue></xades:CertDigest><xades:IssuerSerial><ds:X509IssuerName>C=CO, L=Bogota D.C., O=GSE, OU=PKI, CN=Autoridad Subordinada 01 GSE, E=info@gse.com.co</ds:X509IssuerName><ds:X509SerialNumber>198088280759436681347400</ds:X509SerialNumber></xades:IssuerSerial></xades:Cert></xades:SigningCertificate><xades:SignaturePolicyIdentifier><xades:SignaturePolicyId><xades:SigPolicyId><xades:Identifier>https://facturaelectronica.dian.gov.co/politicadefirma/v2/politicadefirmav2.pdf</xades:Identifier><xades:Description/></xades:SigPolicyId><xades:SigPolicyHash><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>dMoMvtcG5aIzgYo0tIsSQeVJBDnUnfSOfBpxXrmor0Y=</ds:DigestValue></xades:SigPolicyHash></xades:SignaturePolicyId></xades:SignaturePolicyIdentifier><xades:SignerRole><xades:ClaimedRoles><xades:ClaimedRole>supplier</xades:ClaimedRole></xades:ClaimedRoles></xades:SignerRole></xades:SignedSignatureProperties><xades:SignedDataObjectProperties><xades:DataObjectFormat ObjectReference="#Reference-af962594-9b42-4735-8fcd-cc83b950956e"><xades:MimeType>text/xml</xades:MimeType><xades:Encoding>UTF-8</xades:Encoding></xades:DataObjectFormat></xades:SignedDataObjectProperties></xades:SignedProperties></xades:QualifyingProperties></ds:Object></ds:Signature></ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:UBLVersionID>UBL 2.1</cbc:UBLVersionID>
<cbc:CustomizationID>1</cbc:CustomizationID>
<cbc:ProfileID>DIAN 2.1</cbc:ProfileID>
<cbc:ProfileExecutionID>2</cbc:ProfileExecutionID>
<cbc:ID>78045163</cbc:ID>
<cbc:UUID schemeName="CUDE-SHA384">b52af8d01f9fbc23c328cd94efaf1e8561313d28684b8f192a1ad89a3a4796b49067a03b23d945d10338b0593ded5dbf</cbc:UUID>
<cbc:IssueDate>2025-08-14</cbc:IssueDate>
<cbc:IssueTime>01:57:54-05:00</cbc:IssueTime>
<cac:SenderParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>Unidad Especial Dirección de Impuestos y Aduanas Nacionales</cbc:RegistrationName>
<cbc:CompanyID schemeID="4" schemeName="31">800197268</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>01</cbc:ID>
<cbc:Name>IVA</cbc:Name>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:SenderParty>
<cac:ReceiverParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>ZAMORA MORENO GERMAN ANDRES</cbc:RegistrationName>
<cbc:CompanyID schemeID="5" schemeName="31">1018419008</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>01</cbc:ID>
<cbc:Name>IVA</cbc:Name>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:ReceiverParty>
<cac:DocumentResponse>
<cac:Response>
<cbc:ResponseCode>02</cbc:ResponseCode>
<cbc:Description>Documento validado por la DIAN</cbc:Description>
</cac:Response>
<cac:DocumentReference>
<cbc:ID>SETP9920250631</cbc:ID>
<cbc:UUID schemeName="CUDE-SHA384">fce1613428e58659f917ae69d4c7cd24f2765c728af05f56c4ece9c1d49a4f7d5c02dfc6f3c6b0fc3be9a7a395f7acd8</cbc:UUID>
</cac:DocumentReference>
<cac:LineResponse>
<cac:LineReference>
<cbc:LineID>1</cbc:LineID>
</cac:LineReference>
<cac:Response>
<cbc:ResponseCode>0000</cbc:ResponseCode>
<cbc:Description>0</cbc:Description>
</cac:Response>
</cac:LineResponse>
<cac:LineResponse>
<cac:LineReference>
<cbc:LineID>2</cbc:LineID>
</cac:LineReference>
<cac:Response>
<cbc:ResponseCode>AAH17</cbc:ResponseCode>
<cbc:Description>No fue informado el cargo de la persona</cbc:Description>
</cac:Response>
</cac:LineResponse>
<cac:LineResponse>
<cac:LineReference>
<cbc:LineID>3</cbc:LineID>
</cac:LineReference>
<cac:Response>
<cbc:ResponseCode>AAH18</cbc:ResponseCode>
<cbc:Description>No fue informado el área. sección o departamento de la persona</cbc:Description>
</cac:Response>
</cac:LineResponse>
</cac:DocumentResponse>
</ApplicationResponse>]]></cbc:Description>
</cac:ExternalReference>
</cac:Attachment>
<cac:ResultOfVerification>
<cbc:ValidatorID>Unidad Especial Dirección de Impuestos y Aduanas Nacionales</cbc:ValidatorID>
<cbc:ValidationResultCode>02</cbc:ValidationResultCode>
<cbc:ValidationDate>2025-08-14</cbc:ValidationDate>
<cbc:ValidationTime>01:57:54-05:00</cbc:ValidationTime>
</cac:ResultOfVerification>
</cac:DocumentReference>
</cac:ParentDocumentLineReference>
</AttachedDocument>