cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mexico DRC - Invoice rejected - schema xml issue

Oste
Discoverer
0 Kudos
800

Hi experts,

When we submit an invoice to be approve via EDICOM we're facing an error related a xml schema and versions.

In S4 side we have a valid xml to be submited to EDICOM but in CPI side (standard iflow) we get the error bellow:

 

org.apache.cxf.binding.soap.SoapFault: com.edicom.ediwinws.service.cfdi.CFDiException: cvc-complex-type.3.1: Value '2.0' of attribute 'Version' of element 'cce11:ComercioExterior' is not valid with respect to the corresponding attribute use. Attribute 'Version' has a fixed value of '1.1'.cvc-complex-type.4: Attribute 'TipoOperacion' must appear on element 'cce11:ComercioExterior'.cvc-pattern-valid: Value '0.0000' is not facet-valid with respect to pattern '[0-9]{1,16}(.([0-9]{1,2}))?'
 
Anyone have faced this issue?
 
thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

naveen_kolli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Please check if you have updated the flow. Recently SAP Product team has released new iflow version to accommodate Comercio Exterior 2.0:

Some of the changes with the new were:

1. Version has been updated from 1.1 to 2.0

2. TipoOperacion was removed

The error message indicates you may still be using an older iflow version.

 

 

 

AlbertCinnamon
Discoverer
0 Kudos

Good morning, The rout cause of the rejection is that the current value in the attribute Version="1.1" in the Complemento de Comercio Exterior in the XML file is not Valid anymore. 

To solve the issue, it is required to replace the value to Version="2.0" as this is the valid version as shown in the example below:

AlbertCinnamon_0-1712673787069.png

I recommend modify the XML file manually, and try again in the test option of SAT (Taxes Mexico Office), before making any changes in SAP. 

AlbertCinnamon
Discoverer
0 Kudos
In addition, the attributes "TipoOperacion" and "Subdivision" must be removed, in the section "Emisor" Nodo "Domicilio" is now mandatory.
Oste
Discoverer
0 Kudos
Thank you very much for the answers. But that's exactly the point of my problem. On the S4 side I have the correct xml, when the iflow standard (SAP integration suite) calls EDICOM it is calling in this old format/version. Where should I change so that the iflw standard does not change the format of tags and version for older version?