mx-cfdi-v4
Module: github.com/invopop/gobl.mx.cfdi
Scenarios
bill/invoice
standard
standard
Filters:
- Types:
standard
- Extensions:
mx-cfdi-doc-type:I
credit-note
credit-note
Filters:
- Types:
credit-note
- Extensions:
mx-cfdi-doc-type:E,mx-cfdi-rel-type:01
standard, credit-note
standard, credit-note
Filters:
- Types:
standard,credit-note - Filter: (custom)
- Extensions:
mx-cfdi-payment-method:PUE
standard, credit-note
standard, credit-note
Filters:
- Types:
standard,credit-note - Filter: (custom)
- Extensions:
mx-cfdi-payment-method:PPD
Extensions
Document Type
mx-cfdi-doc-type
mx-cfdi-doc-type
Relation Type
mx-cfdi-rel-type
mx-cfdi-rel-type
Place of Issue
Post code of where the invoice was issued. In CFDI, this translates to the ‘LugarExpedicion’.mx-cfdi-issue-place
mx-cfdi-issue-place
Pattern:
^[0-9]{5}$Tax Type
Code defined in the CFDI catalogue “c_Impuesto” for the type of tax. Used in the ‘Impuesto’ field.mx-cfdi-tax-type
mx-cfdi-tax-type
Product or Service Code
Code defined in the CFDI catalogue used to identify a product or service. Mapped to the ‘ClaveProdServ’ CFDI field.mx-cfdi-prod-serv
mx-cfdi-prod-serv
Fiscal Regime Code
Fiscal regime associated with suppliers and customers.mx-cfdi-fiscal-regime
mx-cfdi-fiscal-regime
CFDI Use Code
Chosen by the customer to indicate the purpose of an invoice.mx-cfdi-use
mx-cfdi-use
Payment Method
Code defined in the CFDI catalogue “c_MetodoPago” for the payment method. Used in the ‘MetodoPago’ field.mx-cfdi-payment-method
mx-cfdi-payment-method
Payment Means
Code defined in the CFDI catalogue “c_FormaPago” for the payment method. Used in the ‘FormaPago’ field.mx-cfdi-payment-means
mx-cfdi-payment-means
CFDI Global Period
Period for when the sales were generated.mx-cfdi-global-period
mx-cfdi-global-period
CFDI Global Month
Specific month or month range for the global invoice.mx-cfdi-global-month
mx-cfdi-global-month
CFDI Global Year
mx-cfdi-global-year
mx-cfdi-global-year
Pattern:
\d{4}Validation Rules
bill.Invoice
bill.Invoice
pay.Instructions
pay.Instructions
pay.Record
pay.Record
pay.Terms
pay.Terms
addon.FoodVouchers
addon.FoodVouchers
addon.FuelAccountBalance
addon.FuelAccountBalance