
Datos Fiscales CFDI for WooCommerce
v0.2.2Clifton · 2026年11月22日 上架
Collect and validate Mexican CFDI 4.0 e-invoice data at WooCommerce checkout: RFC, legal name, tax regime, ZIP code and CFDI use.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 159
- 最近更新
- 2026年11月25日
贡献者
截图





Customers in Mexico often need an electronic invoice (CFDI) for their purchases. This plugin adds an “I need an invoice (CFDI)” checkbox to the WooCommerce checkout. When the customer ticks it, the plugin asks for the five fields required by CFDI 4.0 and validates them with the SAT rules:
- RFC (tax ID): checks the structure and the embedded date, detects individuals (13 characters) and companies (12), and rejects the generic RFC.
- Legal name: converted to upper case and without the corporate suffix (“S.A. de C.V.”), as the SAT requires.
- Tax regime (c_RegimenFiscal catalog), checked against the type of taxpayer.
- Tax ZIP code (5 digits).
- CFDI use (c_UsoCFDI catalog), checked against the regime (for example, personal deductions are only valid for individuals).
The data is shown on the order screen, in an “Invoice” column of the orders list, in order emails and in My Account. From WooCommerce Datos fiscales CFDI the store can download a CSV with every order that requested an invoice in a date range, ready to be stamped in any invoicing system.
Works with the block checkout (default) and the classic checkout, and is compatible with High-Performance Order Storage (HPOS). Registered customers get their tax data pre-filled from their last purchase.
The user interface is in Spanish, because it is meant for stores in Mexico.
En español
Datos fiscales para la factura electrónica (CFDI 4.0) en WooCommerce: agrega al checkout la casilla “Requiero factura” y pide el RFC, el nombre o razón social, el régimen fiscal, el código postal fiscal y el uso del CFDI, validados con los catálogos del SAT (por ejemplo, avisa si el uso del CFDI no corresponde al régimen fiscal antes de que el SAT rechace la factura). Los datos se ven en el pedido y se exportan a CSV para timbrar en tu sistema de facturación.
Privacy
The plugin does not send any data to external services. Tax data is stored in the order and, for registered customers, in their user profile.