The SW services return an error code in case of an error in the request. This error code is included in the ‘message’ field of the JSON response object (except for SOAP services) and can be an error code from the SAT’s error arrays or an internal error code.
Note: Messages will appear in Spanish when they occur.
Example:
{ "message": "AU2000 - El usuario y/o contraseña son inválidos, no se puede autenticar el servicio.", "messageDetail": null, "data": null, "status": "error" }
‘Timbrado’ Common Errors
Code | Message |
---|---|
CO1000 | Uncontrolled Error. If the issue persists, please contact technical support for assistance. |
CO1001 | Plugin Name not Declared Correctly. |
CO1002 | An xmlns:{plugin} attribute of a plugin is not found at the Receipt level. |
CO1003 | The namespace and/or public schema URL of a plugin is not found at the Receipt level. |
CO1004 | The xmlns:{plugin} of a plugin is found at the Complement level. |
CO1005 | The namespace and/or public schema URL of a plugin is found at the Receipt level. |
CC2001 | 1 It is not possible to validate the plugin because it is not in force. |
CC3001 | A namespace and/or public schema URL (xsi:schemaLocation) of the CFDI is not found at the Receipt level or is not valid. |
CC3002 | The value of the xmlns:cfdi attribute is not valid according to the version of the CFDI. |
‘Timbrado’ CFDI Errors
Code | Message |
---|---|
301 | The structure of the receipt is incorrect. |
302 | The issuer’s seal is not valid. |
303 | The RFC of the issuer’s CSD does not match the RFC listed as the issuer in the receipt. |
304 | The issuer’s CSD has been revoked. |
305 | The issuance date is not within the validity period of the issuer’s CSD. |
306 | The key used for sealing must be a CSD. |
307 | The receipt contains a previous stamp. |
308 | The issuer’s CSD has not been signed by one of SAT’s Authority Certificates |
401 | The date range of the generation date should not exceed 72 hours for stamp issuance. |
402 | The issuer’s RFC is not in the taxpayers’ regime (Regime validation list) LCO |
403 | The issuance date of the receipt must be after January 1, 2011. |
CFDI3307 | Duplicate stamp. The provided customId is duplicated. |
‘Timbrado’ ‘Retenciones’ Common Errors
Code | Message |
---|---|
T302 | The issuer’s seal is not valid. |
T303 | The RFC of the issuer’s CSD does not match the RFC listed as the issuer in the receipt. |
T304 | The issuer’s CSD has been revoked. |
T305 | The issuance date is not within the validity period of the issuer’s CSD. |
T306 | The key used for sealing must be a CSD. |
T401 | The date range of the generation date should not exceed 72 hours for stamp issuance. |
T402 | The issuer’s RFC is not in the taxpayers’ regime (Regime validation list) LCO. |
Cancellation
Code | Message |
---|---|
CASD | ‘Acuse’ without specific description. |
CA203 | Fiscal Folio Not Corresponding to the Issuer. |
CA204 | Fiscal Folio Not Applicable to Cancellation. |
CA205 | Fiscal Folio Does Not Exist. |
CA206 | UUID does not correspond to a CFDI in the Primary Sector. |
CA207 | Cancellation reason not specified or the reason is not valid. |
CA208 | Invalid Replacement Folio. |
CA209 | Replacement Folio not required. |
CA210 | The cancellation request date is later than the declaration date. |
CA211 | Cancellation request date limit for global invoice. |
CA212 | Invalid or nonexistent relationship. |
CA300 | Invalid User. |
CA301 | Malformed XML. |
CA302 | Malformed Seal. |
CA303 | Seal does not correspond to the issuer or has expired. |
CA304 | Revoked or Expired Certificate. |
CA305 | Invalid Certificate. |
CA306 | The certificate is not of the CSD type |
CA307 | The CFDI contains a previous stamp. |
CA308 | Certificate not issued by the SAT. |
CA309 | Invalid Certificate. |
CA310 | Invalid CSD. |
CACFDI33 | Problems with the fields. |
CACFDI33 | Problems with the XML. |
Authentication
Code | Message |
---|---|
AU1000 | Uncontrolled Error. Authentication token could not be generated. |
AU1001 | Unable to create the user. User already exists. |
AU1002 | Unable to change the password. The current password does not match. |
AU1003 | Unable to create the Issuer RFC. Already exists. Please contact the Administrator. |
AU1004 | Unable to save the User. Uncontrolled error. |
AU1005 | Unable to save the User. The Distributor does not exist. |
AU1006 | Unable to save the User. The Distributor has insufficient balance. |
AU1007 | The user being created was previously deleted. It has been restored. Please review the user list again and assign the corresponding stamps. |
AU1008 | The user being created already exists and belongs to another Distributor. Please try again with different data. |
AU2000 | The username and/or password are invalid; the service cannot be authenticated. |
AU2001 | The user has no stamp balance. |
AU2002 | The user is inactive. Please contact your administrator. |
AU2003 | Issuer RFC has not signed the manifesto. As a CFDI Certification Provider (PCC), manifesto signing is necessary. |
AU2004 | Issuer RFC does not belong to the user’s Distributor. Please contact your distributor. |
AU2005 | Uncontrolled error in the validation of the Manifesto and Issuer RFC. |
AU2006 | The provided Distributor does not exist. Please verify. |
AU2007 | The client does not belong to the Distributor. |
AU2008 | The user does not have privileges to perform this action. |
AU3000 | The generated token is incorrect or not valid. |
AU4000 | Unable to validate the token. |
AU4100 | The provided token is not valid or has expired. |
AU4101 | The provided token is empty. |
AU4102 | Unable to retrieve the user. The provided token is invalid. |
AU5000 | Uncontrolled error. Please contact the administrator if the problem persists. |
AU5001 | The user does not have sufficient privileges to perform this operation. |
Balance
Code | Message |
---|---|
S1000 | Uncontrolled Error. Customer balance could not be validated. |
S1100 | Uncontrolled Error. Customer balance could not be affected. |
S2000 | The customer’s balance has been depleted. Please contact technical support for more information. |
S2100 | The expiration date of the customer’s balance has been reached. Please contact technical support for more information. |