How to: Set Up Electronic Invoicing

Before you can send electronic documents, you must set up Dynamics NAV to ensure that the tax identification number (RFC), personal identification number (CURP), and state inscription IDs are available for your company and all your customers and vendors. You also need to set up the parameters that are needed for sending electronic invoices to customers and vendors. These parameters include the certificate thumbprint, which is the certificate that you received from the Mexico tax authority (SAT).


The certificate that you received from the Mexico tax authority must be installed for each user who sends electronic invoices. For more information, see the Servicio de Administracíon Tributaria website.

Your company must also have SMTP mail set up for emailing electronic invoices. Depending on the configuration in your company, you may need to grant explicit SMTP permissions to each relevant user and computer. The documents will be sent from the address that is specified in the Company Information window.

To set up company information

  1. Choose the Search for Page or Report icon, enter Company Information, and then choose the related link.

  2. In the Company Information window, on the Tax FastTab, fill in the fields as described in the following table.

    Field Description
    SAT Certificate Thumbprint Enter the friendly name of the certificate that you want to use for issuing electronic invoices. Note: A certificate is needed for each user who sends electronic invoices. To get the certificate thumbprint, see the Help for the operating system.
    Send PDF Report Select to include a PDF when you email electronic invoices to customers or vendors. Electronic invoices are always sent as an XML file, this option allows you to include a PDF with the XML file.
    PAC Code Specify the authorized service provider, PAC, that you want apply digital stamps to your electronic invoices. Note: To use a PAC, you must set up web services. For more information, see How to: Set Up PAC Web Services.
    PAC Environment Specify if your company uses electronic invoices, and if you are using the web services of your authorized service provider, PAC, in a test environment or a production environment.

Optionally, you can ask your Microsoft Certified Partner to modify the text that is included in the email that is sent when you send electronic invoices. The text is stored as text variables in codeunit 10145.

See Also

Dynamics 365 Business Central
Electronic Invoicing
How to: Generate Electronic Invoices
Mexico Local Functionality