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

145 lines
8.5 KiB
XML

<ApplicationResponse xmlns="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:sts="dian:gov:co:facturaelectronica:Structures-2-1" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:xades141="http://uri.etsi.org/01903/v1.4.1#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<sts:DianExtensions>
<sts:InvoiceControl>
<sts:AuthorizedInvoices>
<sts:Prefix>BILL</sts:Prefix>
<sts:From>0</sts:From>
<sts:To>0</sts:To>
</sts:AuthorizedInvoices>
</sts:InvoiceControl>
<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 schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direcci&#243;n de Impuestos y Aduanas Nacionales)" schemeName="31" schemeID="5">1018419008</sts:ProviderID>
<sts:SoftwareID schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direcci&#243;n de Impuestos y Aduanas Nacionales)">software-id</sts:SoftwareID>
</sts:SoftwareProvider>
<sts:SoftwareSecurityCode schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direcci&#243;n de Impuestos y Aduanas Nacionales)">71be90dbd70e04c6d75ec8da2c022d62b815003fa9fdad79241bcab3415af2f99dbb8bfcf28133be5ec0d9fdde9647b8</sts:SoftwareSecurityCode>
<sts:AuthorizationProvider>
<sts:AuthorizationProviderID schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direcci&#243;n de Impuestos y Aduanas Nacionales)" schemeID="4" schemeName="31">800197268</sts:AuthorizationProviderID>
</sts:AuthorizationProvider>
<sts:QRCode>https://catalogo-vpfe-hab.dian.gov.co/document/searchqr?documentkey=abcdef</sts:QRCode>
</sts:DianExtensions>
</ext:ExtensionContent>
</ext:UBLExtension>
<ext:UBLExtension>
<ext:ExtensionContent>
<ds:Signature Id="xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c">
<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 URI="" Id="xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c-ref0">
<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>___ignore___</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#xmldsig-9e25b1f0-2955-11f1-bd9d-1163e06b857c-keyinfo">
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>___ignore___</ds:DigestValue>
</ds:Reference>
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c-signedprops">
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>___ignore___</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue Id="xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c-sigvalue">___ignore___</ds:SignatureValue>
<ds:KeyInfo Id="xmldsig-9e25b1f0-2955-11f1-bd9d-1163e06b857c-keyinfo">
<ds:X509Data>
<ds:X509Certificate>___ignore___</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
<ds:Object>
<xades:QualifyingProperties Target="#xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c">
<xades:SignedProperties Id="xmldsig-9e25b182-2955-11f1-bd9d-1163e06b857c-signedprops">
<xades:SignedSignatureProperties>
<xades:SigningTime>2026-03-26T15:51:52.742-05:00</xades:SigningTime>
<xades:SigningCertificate>
<xades:Cert>
<xades:CertDigest>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>___ignore___</ds:DigestValue>
</xades:CertDigest>
<xades:IssuerSerial>
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
<ds:X509SerialNumber>___ignore___</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>Pol&#237;tica de firma para facturas electr&#243;nicas de la Rep&#250;blica de Colombia.</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: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: ApplicationResponse de la Factura Electr&#243;nica de Venta</cbc:ProfileID>
<cbc:ProfileExecutionID>2</cbc:ProfileExecutionID>
<cbc:ID>SETP9900130771</cbc:ID>
<cbc:UUID schemeID="2" schemeName="CUDE-SHA384">698829b16a06b077f1f8bd22706313abad942c94748175a46f7e3bf17da1b10fffaf16132e8d67e5dc32ce626f0ce579</cbc:UUID>
<cbc:IssueDate>2026-03-26</cbc:IssueDate>
<cbc:IssueTime>15:51:52-05:00</cbc:IssueTime>
<cac:SenderParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>CO Company Test</cbc:RegistrationName>
<cbc:CompanyID schemeName="31" schemeAgencyName="CO, DIAN (Direcci&#243;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&#243;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:DocumentResponse>
<cac:Response>
<cbc:ResponseCode>030</cbc:ResponseCode>
<cbc:Description>Acuse de recibo de Factura Electr&#243;nica de Venta</cbc:Description>
</cac:Response>
<cac:DocumentReference>
<cbc:ID>SETP990013077</cbc:ID>
<cbc:UUID schemeName="CUFE-SHA384">abcdef</cbc:UUID>
<cbc:DocumentTypeCode>01</cbc:DocumentTypeCode>
</cac:DocumentReference>
<cac:IssuerParty>
<cac:Person>
<cbc:ID schemeName="31" schemeID="1018419008-5">10184190085</cbc:ID>
<cbc:FirstName>CO Company Test</cbc:FirstName>
<cbc:FamilyName>CO Company Test</cbc:FamilyName>
</cac:Person>
</cac:IssuerParty>
</cac:DocumentResponse>
</ApplicationResponse>