The CDG01 rejection is generated due to an error in the department and municipality codes within the electronic document. This rejection occurs when the municipality code does not match the corresponding department code.

DIAN Technical Annex:
According to DIAN’s technical annex, the difference is found in the Xpath CountrySubentityCode.

Upon reviewing the XML to validate the codes, it is observed that the code 76120 is being sent for the municipality of "Candelaria", corresponding to the department of "Valle del Cauca".

However, when consulting DIAN’s municipality table 13.4.3, a mismatch is identified, as the correct code for the municipality of "Candelaria" is 76130.

Solution:
To resolve this issue, it is necessary to update the code in the integration file so that the correct code 76130 is used. Once this change has been made and the document is submitted, it will be legally accepted.

After the correction, the document should appear as approved once it is resent.

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