XML Generation Programs

You run the DIAN Generate Output Formats 1001, 1002, 1003, 1004, 1007 program (R76C9F02) to generate the XML files for formats 1001, 1002, 1003, 1004, and 1007. You run the DIAN Output XML Generation program for formats 1005, 1006, 1008, 1009, 1011, 1012, and 1034. Different versions of the XML output programs exist for each format.

When you run an XML output program, the system reads the data in the temporary table to which the filter program for the format wrote data, and writes comma-delimited data to the DIAN Output Format Header (F76C0F01) and DIAN Output Format Detail (F76C0F11) tables.

The XML output programs also write records to the Text Processor Header table (F007101) and Text Processor Detail Table (F007111). You use the Text File Processor program (P007101) to copy data from the text file processor tables to the media that you submit for tax reporting.

You can run the XML output programs from the DIAN Concepts Add/Review program (P76C0F50) or from the menu for the formats.