E1: 76C: DIAN Output XML Generation (R76C9F02) Incorrectly Sets Error 06 even if CIIU Code is Set Up for the Company/Supplier/Customer in P76C0101
(Doc ID 2654643.1)
Last updated on NOVEMBER 07, 2023
Applies to:
JD Edwards EnterpriseOne Accounts Receivable - Version 9.2 and laterJD Edwards EnterpriseOne Accounts Payable - Version 9.2 and later
JD Edwards EnterpriseOne General Ledger - Version 9.2 and later
Information in this document applies to any platform.
Symptoms
When the DIAN Output XML Generation program (R76C9F02) is run for the 1001 – A/P Payments Made report, its PDF shows error code 06: "missing the department or municipal code".
The department or municipal code is also known as the CIIU code (Clasificación Industrial Internacional Uniforme).
The error happens even though the CIIU code is set up for the company and the supplier on the Colombia Additional Information Revisions (P76C0101) form via the Regional Info row exit in Address Book Revisions (P01012). The UDC attached to the CIIU field on the P76C0101 form is 76C/CI and is set up with 5-digit codes.
The company and the supplier have also been assigned values on their A/B records for the following cat codes:
- 07 (Economic Activity Colombia (01/07)).
- 25 (Address Book Category Codes (01/25)). Note that the number 25 is just from the GCS test here. Any A/B Cat Code can be used.
Note: it's been reported that the same happens for the following DIAN formats as well:
- 1003: A/R – Amounts Withheld From Payments That Customers Made To You
- 1005: A/P – Sales VAT To Pay That Was Originated From Canceled Or Rescinded Purchases
- 1006: A/R – Sales VAT Discountable That Is Originated By Canceled Or Rescinded Sales
- 1007: A/R – Income Received
STEPS TO REPRODUCE
- P0092: Verify that the value in the Localization Country Code field is CO (Colombia).
- Setup:
- UDCs for Colombia
- General Parameters (P76CP001): set up general parameters for Tributary Codes.
- Next Numbers setup (P0002): system 76C: set up the next number for the header of the DIAN xml file.
- DIAN General Setup program (P76C0F00):
- General Setup Revision form:
- Specify the model business unit that is set up for a model chart of accounts.
- For records with minimum amounts: set up the fiscal ID as 222222222, and the transaction type as 43.
- Format Setup Revision form:
- Set up the next number for the individual formats in the Sending Number field.
- Identify the minimum reportable amount for each format, if applicable.
- General Setup Revision form:
- DIAN Person Setup program (P76C020): associate a person or corporation code to a DIAN document type, identify the code as a natural or legal person.
- DIAN Setup Concept Code by Format and Account (P76C9F01): set up G/L accounts that will be used on the A/P vouchers.
- Interactive Versions:
- Set processing options for Address Book Colombian Additional Information (P76C0101)
- Company setup:
- Set up in P0010
- Via regional info row/form exit in P0010 add info re legal company
- Set up in P01012
- Via regional info row/form exit in P01012 add additional info for Colombia
- Set up in P0010
- Taxes
- Tax rules (P0022): enter 1 for the Tolerance Amt Warning, 0 for Tolerance Amt Error, and select the Tax on Gross Including Discount option
- P4008: Set up a tax rate for Colombia
- Economic Activity: use the Tax Parameter (aka I.C.A.) program (P76CI00) to specify the dates, rate, and amount by the city and economic code for the Colombian TRA
- Tax Parameters (P76CI00): set up for the Colombian TRA
- Batch Versions: set up versions for the 1001 format:
- DIAN Generate concept by Account ID (R76C9F01)
- DIAN Output XML Generation program (R76C9F02)
- Supplier setup:
- P04012/P01012: create a new supplier for a Colombian company
- Enter additional info for the supplier in P76C0101
- Processing:
- For A/P:
- Create vouchers with taxes and post them.
- Run the Date File Generation program (R04901A).
- For the 1001 format:
- Run the filter program to populate the temporary table: DIAN Generate concept by Account ID (R76C9F01), version ZJDE0001 – Format 1001.
- Review the records for the report via DIAN Concepts Add / Review (P76C9F02) and modify the concepts for the records, as necessary.
- Generate the XML file for submission via R76C9F02 version ZJDE0001.
- For A/P:
DESIRED OUTCOME
For the R76C9F02 not to set error 06 – "missing the department or municipal code", when this is set up for the company, supplier, and the customer.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |