SAP Knowledge Base Article - Public

3779076 - The Rejection "Regla: DSAJ17b, Rechazo: Nombre del país del vendedor del documento NO corresponde a un valor válido de la lista" occurs for an eDocument from Colombia - SAP S/4HANA Cloud Public Edition

Symptom

The Rejection "Regla: DSAJ17b, Rechazo: Nombre del país del vendedor del documento NO corresponde a un valor válido de la lista" is displayed for an eDocument from Colombia.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to the eDocument Cockpit.
  2. In the Source Document field, enter ABC (where ABC represents the Source Document ID).
  3. Mark the eDocument ABC.
  4. Select Application Log.

The Rejection "Regla: DSAJ17b, Rechazo: Nombre del país del vendedor del documento NO corresponde a un valor válido de la lista" is displayed for the eDocument ABC.

Cause

The <Name languageID="es"> under the section <AccountingSupplierParty> is not displaying the value in accordance to DIAN requirements.  

The following is displayed in the Country section of the eDocument XML:
 
<Country>
<IdentificationCode>US</IdentificationCode>
<Name languageID="es">EE.UU.</Name>
<Country>

Resolution

The Name tag should be kept according to table 16.4.1 in DIAN Documentation. The tag <Name languageID="es"> needs to be adjusted to "Estados Unidos" as the requirement of DIAN Tax Authority. 

For the change in the <Name> tag, a custom logic requires to be implemented via the Badi EDOC_ADAPTOR_CLOUD in order to avoid the rejection for the eDocuments.

See Also

External Documentation: DIAN Documentation
SAP Help Portal: Colombia
SAP Community Blog: Enhancing the Standard XML File for Electronic Documents using the BAdI EDOC_ADAPTOR_CLOUD

Keywords

DSAJ17b, AccountingSupplierParty, es, US, EDOC_ADAPTOR_CLOUD, colombia , KBA , CA-GTF-CSC-EDO-CO , Colombia , Problem

Product

SAP S/4HANA Cloud Public Edition all versions