SAP Knowledge Base Article - Public

3268341 - Error CRP20217 for ePayment in Mexico


You are submitting a document for the Fiscal Authorities approval, the amount of the invoice is correct, but the document is rejected because there is an error between the total amounts and the total base of 0.01 or 0.02 cents.

When checking in the Application Log, it is showed the error below:

'CRP20217 La suma de los valores registrados en el campo ImpPagado (Importe Pagado) de los apartados DoctoRelacionados (Documentos Relacionados) no es menor o igual que el valor del campo Monto'


S/4HANA Cloud


As system design, it occurs when the system Exchange Rate maintained in system for USD->MXN is rounded 6 decimal places, which may cause a different value of more than 1 or 2 cents when the Total is calculated.

Note: the calculation is being done according to the formulas and roundings defined by the government, but with the amounts of the customer’s document, it is NOT POSSIBLE to get the correct amount and it is being rejected by the government.


Kindly check with the government what has to be done in your case and send all details of the calculation documented in the incident explaining why there is a problem and request the way to solve it.

To proceed with this request, please access Mexican Government’s Portal and send your requests/questions to them.


CRP20217, Fiscal Authorities,  MX, rejected, epayment, different amount, monto, Tax Authority, SAT, EDICOM. , KBA , CA-GTF-CSC-EDO-MX , Document Compliance Mexico , Problem


SAP S/4HANA Cloud all versions