The CAE04 rejection is generated for Credit Note documents (code 91). It occurs when the credit note does not reference an invoice, and the start period is either not provided or exceeds 30 days.
Inbox Portal:
The document in error is shown in the Inbox portal.

Inbox Notes:
- CAE04: The end date of the billing period modified by this credit note was not provided

We identified the DIAN rejection, which references the XPath: StartDate.

Method to Validate the Error:
1. Validate the XML file
The XML file is validated to ensure that it corresponds to a Credit Note without a reference invoice, and it is verified that the service type is 22 (CustomizationID).

This is confirmed using DIAN Table 13.1.5.2.

2. Review the period reported in the XML
Upon reviewing the XML file, it is observed that the reported period contains a contradiction: the end date (2024‑09‑26) is earlier than the start date (2025‑01‑01), which results in the rejection.

For any questions, please feel free to consult the knowledge base.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article