外掛標籤
開發者團隊
② 後台搜尋「Datos Fiscales CFDI for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
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.
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.
