Skip to content
GitHub

Mexico CFDI 3.3 / 4.0

  • Format id: mx-cfdi
  • Countries: Mexico (MX)
  • Status: in active use
  • Parser: cfdi family, converts to canonical JSON

Mexican tax-authority invoice (cfdi:Comprobante), stamped by an authorised provider (PAC) with a SAT TimbreFiscalDigital. Only types I (ingreso, invoice) and E (egreso, credit note) are invoices; T (traslado), P (pago, Pagos 2.0) and N (nómina) are detected as other documents. CFDI 4.0 has been mandatory since 1 Apr 2023; 3.3 only appears in older files.

  • Phase 3. Covers: Legacy and low-volume (cfdi is Mexican, see above). Svefaktura follows SFTI’s “Mapping of Svefaktura 1.0 onto EN 16931-1” (see src/parsers/svefaktura.ts).

The same parser family handles the formats listed in Build order and mapping notes.

The full field-by-field table is in Mexico: CFDI.