Te dejo un ejemplo del evento de rechazo:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><ApplicationResponse xmlns="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2" xmlns:cac="urn:oasis:names:specification:u
bl: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:n
ames:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:sts="dian:gov:co:facturaelectronica:Structures-2-1">
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
</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>0000000000025</cbc:ID>
<cbc:UUID schemeID="2" schemeName="CUDE-SHA384">d19287237675e9b1d3f21df035f42b331a8951fcc30af396421d6c9ab4103e664c921b9d56122fa9a86bd01b209e3f6b</cbc:UUID>
<cbc:IssueDate>2020-07-30</cbc:IssueDate>
<cbc:IssueTime>10:27:40-05:00</cbc:IssueTime>
<cac:SenderParty>
<cac:PartyTaxScheme>
<cbc:RegistrationName>xxxxxxx</cbc:RegistrationName>
<cbc:CompanyID schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direccion de Impuestos y Aduanas Nacionales)" schemeID="6" schemeName="31">12345</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>yyyyyy</cbc:RegistrationName>
<cbc:CompanyID schemeAgencyID="195" schemeAgencyName="CO, DIAN (Direccion de Impuestos y Aduanas Nacionales)" schemeID="3" schemeName="31">6789</cbc:CompanyID
>
<cac:TaxScheme>
<cbc:ID>01</cbc:ID>
<cbc:Name>IVA</cbc:Name>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:Contact>
<cbc:ElectronicMail>xxxxx@hotmail.com</cbc:ElectronicMail>
</cac:Contact>
</cac:ReceiverParty>
<cac:DocumentResponse>
<cac:Response>
<cbc:ResponseCode listID="01">031</cbc:ResponseCode>
<cbc:Description>Rechazo de Documento</cbc:Description>
</cac:Response>
<cac:DocumentReference>
<cbc:ID>facturaelectronica74112</cbc:ID>
<cbc:UUID schemeID="2" schemeName="CUDE-SHA384">0dfa22550eb69c8ba3e9c2c3838413c64f67bc5cef164d272f54b53c4d6a0e495d2493664c6ce755b4501433271e97c7</cbc:UUID>
<cbc:DocumentTypeCode>01</cbc:DocumentTypeCode>
</cac:DocumentReference>
</cac:DocumentResponse></ApplicationResponse>
Este ejemplo es de un evento recibido correctamente por la DIAN