ERPNext Mexico Compliance is a Frappe/ERPNext app that adapts ERPNext business logic to comply with the rules and regulations of the Mexican Tax Administration Service (SAT). It enables CFDI 4.0 stamping directly from your ERPNext instance, manages official SAT catalogs, and extends core doctypes with the compliance fields that Mexican authorities require.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.
Installation
Install the app via Frappe Bench or Frappe Cloud and set up your environment.
Quickstart
Configure CFDI stamping and stamp your first Sales Invoice in minutes.
CFDI Stamping
Learn how stamping works for Sales Invoices and Payment Entries.
Configuration
Set up your API credentials, Digital Signing Certificates, and stamp settings.
What’s Included
ERPNext Mexico Compliance adds everything your ERPNext instance needs to operate legally in Mexico:CFDI 4.0 Stamping
Generate and stamp CFDI documents for Sales Invoices and Payment Entries via the TI Sin Problemas web service.
CFDI Cancellation
Request SAT-compliant cancellations with official cancellation reasons and optional substitute document linking.
SAT Catalogs
Auto-synced official catalogs for Tax Regimes, CFDI Uses, Payment Methods, Product/Service Keys, UOM Keys, and more.
Compliance Fields
New fields on Customer, Company, Item, Sales Invoice, Payment Entry, UOM, and other doctypes as required by SAT.
Extensibility Hooks
before_stamp_cfdi and after_stamp_cfdi document event hooks for custom business logic.Automated Jobs
Hourly scheduled job automatically reconciles CFDI cancellation status with the SAT.
Get Started
Add your Digital Signing Certificate
Go to Mexico Compliance → Digital Signing Certificate and upload your
.cer and .key files issued by the SAT.Configure CFDI Stamping Settings
Go to Mexico Compliance → CFDI Stamping Settings, enter your API Key and API Secret, and disable Test Mode for production.
You need a stamp credit package and API credentials from TI Sin Problemas to use the CFDI stamping feature. Contact [email protected] to purchase credits.