Issue CFDI documents in Mexico using the SAT Mexico provider.
Set up the Supplier Post-Registration Workflow
Set up the Supplier Registration Workflow
Connect the SAT Mexico App
Set up the SAT Issue Invoice Workflow
Run the Supplier Registration Workflow
</>
icon) to paste the data directly.Here is an example supplier for reference:Complete Supplier Registration
registration-link
..crt
), private key (.key
), and the private key password.Follow this guide to generate the CSD certificate and key.When you click Save, the form details are securely sent to the PAC (Proveedor Autorizado de Certificaciรณn), who will handle invoice signing and submission to the SAT.csd_file
(string): The CSD certificate file (.crt
).key_file
(string): The private key (.key
).password
(string): The private key password.rfc
(string): The RFC of the supplier.active_cert
(boolean): Whether the certificate is active.Authorize PAC to Issue Invoices
$regime
to be set to MX
$addons
to include mx-cfdi-v4
B2B Invoice (Personas Morales)
mx-cfdi-v4
addon, this ensures the document will be validated using the CFDI v4 rules built into the GOBL library,ext
) fields have been used in multiple locations for fields whose values cannot be determined any other way,B2C Invoice (Personas Fรญsicas)
mx-cfdi-fiscal-regime
and mx-cfdi-use
extensions have been set to 616
and S01
respectively reflecting that the customer is not subject to tax.Simplified Invoice (Factura al pรบblico en general)
customer
field is not required$tags
field is used to identify this as a simplified invoice.Global Invoice
$tags
field has been used to identify this as a global invoice,line
has a ref
which is used to identify the invoice that it belongs to,tax.ext.mx-cfdi-global-month
, mx-cfdi-global-period
, and mx-cfdi-global-year
fields have been used to identify the global invoice period.Credit Note
$type
field has been set to credit-note
,preceding
field has been used to identify the invoice that is being cancelled.Which PAC (Proveedor Autorizado de Certificaciรณn) does Invopop use?
Where can I find the mapping of GOBL fields to CFDI?