Skip to Content
Menu
This question has been flagged
3 Replies
1937 Views

PAC failed to sign the CFDI:

  • Code : 301
  • Message : Error de validaciones adicionales [Error #CFDI40101] El campo Fecha no cumple con el patrón requerido. Folio: 7. Serie: INV/2024/. La fecha y hora de emisión del comprobante es posterior a la tolerancia permitida. Fecha de emisión: 2024-07-01T23:59:00 Fecha de intento de timbrado: 2024-07-01T23:04:34 Fecha de emisión máxima permitida: 2024-07-01T23:09:34 Zona Horaria: Tiempo del Centro.

I've configured the database correctly and using the company according to the docs for mexico localisation.


English translation:

PAC failed to sign the CFDI:

  • Code : 301
  • Message : Additional validations error [Error #CFDI40101] The Date field does not comply with the required pattern. Folio: 7. Series: INV/2024/. The date and time of issue of the receipt is later than the allowed tolerance. Issue date: 2024-07-01T23:59:00 Stamp attempt date: 2024-07-01T23:04:34 Maximum issue date allowed: 2024-07-01T23:09:34 Time Zone: Central Time.


Avatar
Discard
Best Answer

The second error you are having is due to the customer using the wrong UsoCFDI, each fiscal regime (contact form > sales >fiscal regime)  has a set amount of "UsoCFDI" (l10n_mx_edi_usage), you must ask this data to the customer to try to avoid this error since the customer should tell you which one is the right one according to their fiscal regime, this is an expected set of data that the customer gives when asking for an invoice.

This would be classified as a user error.

Avatar
Discard
Best Answer

Maybe this Forum Entry can help :) 

[l10n_mx] Error #CFDI40101 - El campo Fecha no cumple con el patrón requerido


Avatar
Discard
Author

Hi, also below error comes: PAC failed to sign the CFDI:

Code : 301
Message: Additional validation error [Error #CFDI40161] The UsoCFDI field key must correspond to the type of person (physical or legal entity) and the corresponding regime according to the c_UsoCFDI catalog. Folio: 5. Series: INV/2024/. The RegimenFiscalReceptor is not associated with the UsoCFDI.

Best Answer

The error you are experiencing is due to the CFDI issue date and time not complying with the required pattern and being outside the allowed tolerance range by the PAC. In this case, the issue date of the receipt (2024-07-01T23:59:00) is later than the maximum allowed issue date (2024-07-01T23:09:34).


You can try the following:

  1. Ensure that the date and time on the server where Odoo is running are correctly synchronized with the official time in Mexico (Central Time).
  2. Verify that the time zone configured in Odoo is correct. 
  3. Modify the issue date and time of the invoice to be within the allowed tolerance range by the PAC. In your case, ensure that the issue date is not later than 2024-07-01T23:09:34. 

I see you edited your post. Also, verify the UsoCFDI Field:


- Ensure that the UsoCFDI field is correctly set according to the type of person (physical or legal entity). 


- Verify that the tax regime code (Regimen Fiscal Receptor) for the recipient is correctly set. Make sure it is associated with the correct UsoCFDI according to the c_UsoCFDI catalog. 


Avatar
Discard
Author

Hi, below error also comes:
PAC failed to sign the CFDI:

Code : 301
Message: Additional validation error [Error #CFDI40161] The UsoCFDI field key must correspond to the type of person (physical or legal entity) and the corresponding regime according to the c_UsoCFDI catalog. Folio: 5. Series: INV/2024/. The RegimenFiscalReceptor is not associated with the UsoCFDI.

Related Posts Replies Views Activity
1
Jul 24
1486
0
Jun 22
7
1
Apr 22
2449
2
May 24
1901
1
Jun 22
3914