A Digital Signing Certificate (CSD — Certificado de Sello Digital) is issued by the Mexican Tax Administration Service (SAT) for each company. It is used to cryptographically sign CFDI documents before they are submitted to the PAC for stamping. Without a valid CSD, no CFDI can be generated.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TI-Sin-Problemas/erpnext_mexico_compliance/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before adding a certificate in ERPNext you must have obtained a valid CSD from the SAT portal at https://www.sat.gob.mx for each company that will issue CFDIs. The SAT will provide you with three items:- A
.cerfile — the public certificate. - A
.keyfile — the encrypted private key. - A password — used to decrypt the private key.
Adding a Digital Signing Certificate
Select the company
In the Company field, select the company for which this certificate will
be used to sign CFDIs. This field is required.
Enter the password
In the Password field, enter the password that was issued by the SAT to
protect your private key.
Validating a certificate
After saving, you can use the Validate Certificate button on the form to re-run the validation at any time. If the certificate, key, and password are all correct, the app displays a confirmation popup showing the RFC, legal name, and branch name extracted from the certificate.Auto-naming
Certificates are automatically named using the pattern{Company}-{##} — for example, My Company-001 for the first certificate added for a company, My Company-002 for the second, and so on. Names can be changed after creation if needed.
Permissions
Access to Digital Signing Certificate records is controlled by role:| Role | Permissions |
|---|---|
| System Manager | Full access: create, read, write, delete, share |
| Accounts Manager | Full access: create, read, write, delete, share |
| Accounts User | Read and share |