Set up electronic invoicing - Mexico

Before you can send electronic documents, set up the tax identification information for your company, customers, and vendors in Business Central. This information includes the applicable RFC, CURP, and state inscription IDs. You also need to upload the SAT certificate and configure the PAC web services used to stamp electronic documents.

Important


Upload the certificate to Business Central and select an Available To value that gives the relevant users access. You don't need to install the certificate on each user's computer. Learn more about SAT certificates and keys on the Servicio de Administración Tributaria website.

To email electronic invoices, set up an email account for the Default email scenario. This account sends the documents. Learn more in Set up email.

Set up company information

  1. Select Search (Alt+Q) in the upper-right corner, enter Company Information, and then choose the related link.

  2. On the Company Information page, fill in the relevant fields. More information is available in the Company Information Quick Start article.

    Note

    You must fill in the SAT Postal Code field. If you can't see the field on the General FastTab, choose Show more.

  3. On the Tax FastTab, fill in the fields. Hover over a field to read a short description. The following table describes some of the complex CFDI-related fields.

    FieldDescription
    Tax SchemeEnter the tax scheme that your company complies with.
    SAT Tax Regime ClassificationSpecify the tax scheme required for reporting to the Mexican tax authorities (SAT).
    RFC NumberEnter the federal registration number for taxpayers. The field supports 12-character and 13-character RFC numbers.
    CURP No.Enter the 18-character Clave Única de Registro de Población for a person, where applicable.
    State InscriptionEnter the tax ID number that the state tax authorities assign to every person or corporation.

For Carta de Porte, specify SCT permissions on the vehicle's Fixed Asset Card, not on Company Information. Learn more in Set up vehicles for transportation.

Set up general ledger information

  1. Select Search (Alt+Q) in the upper-right corner, enter General Ledger Setup, and then choose the related link.

  2. On the General Ledger Setup page, on the Electronic Invoice FastTab, fill in the fields as described in the following table.

    FieldDescription
    EnabledChoose this field to switch to use digitally signed documents, and then fill in the remaining fields on this FastTab.
    SAT CertificateSpecify the SAT certificate. The section on adding certificates provides information on how to add certificates.
    Multiple SAT CertificatesEnable this option to be able to assign other SAT certificates to locations associated with company branches.
    Send PDF ReportSelect this field to include a PDF when you email electronic invoices to customers. The XML file is always attached.
    PAC CodeSpecify the authorized service provider, PAC, that you want to apply digital stamps to your electronic invoices. Learn more in Set up PAC web services.
    PAC EnvironmentSpecify if your company is 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, which a developer can extend.

Set up customer and vendor information

You also must add information about your customers and vendors. The following section describes how to specify this information to customers and vendors.

Set up customer information

  1. Select Search (Alt+Q) in the upper-right corner, enter Customers, and then choose the related link.

  2. For each customer in the Customers list, open the customer card, and then fill in the fields on the General FastTab. Hover over a field to read a short description. The following table describes some of the complex CFDI-related fields.

    FieldDescription
    CFDI PurposeEnter the CFDI purpose required for reporting to the Mexican tax authorities (SAT).
    CFDI RelationEnter the relation of the CFDI document.
    CFDI Export CodeEnter a code to indicate if the customer is typically used for exports to other countries/regions.
    SAT Tax Regime ClassificationEnter the tax scheme required for reporting to the Mexican tax authorities (SAT).
  3. On the Invoicing FastTab, fill in the fields. Hover over a field to read a short description. The following table describes some of the complex CFDI-related fields.

    FieldDescription
    Tax Identification TypeSelect Legal Entity for a company or Natural Person for a person before entering the RFC number.
    RFC No.Enter the federal registration number for taxpayers. The RFC number must contain 12 characters for a legal entity or 13 characters for a natural person.
    CURP No.Enter the unique personal identification number. The CURP number must contain 18 characters.
    State InscriptionEnter the tax ID number that the state tax authorities assign to every person or corporation.

    Note

    If the posted document uses Prices Including VAT, the CFDI export converts the unit prices and discounts to VAT-exclusive values. VAT is reported separately in the electronic document.

  4. On the Payments FastTab, in the Payment Method Code field, specify the payment method that you want to use for this customer.

  5. Repeat steps 2-4 for all other customers.

Set up vendor information

  1. Select Search (Alt+Q) in the upper-right corner, enter Vendors, and then choose the related link.

  2. For each vendor in the Vendors list, open the vendor card, and then fill in the fields on the General FastTab. Hover over a field to read a short description.

  3. On the Payments FastTab, fill in the fields. Hover over a field to read a short description. The following table describes some of the complex CFDI-related fields.

    FieldDescription
    Tax Identification TypeSelect Legal Entity for a company or Natural Person for a person before entering the RFC number.
    RFC No.Enter the federal registration number for taxpayers. The RFC number must contain 12 characters for a legal entity or 13 characters for a natural person.
    CURP No.Enter the unique personal identification number. The CURP number must contain 18 characters.
    State InscriptionEnter the tax ID number that the state tax authorities assign to every person or corporation.
  4. Repeat steps 2-3 for all other vendors.

Set up location information

Use SAT address records to specify the geographic codes for your locations.

  1. Select Search (Alt+Q) in the upper-right corner, enter SAT Addresses, and then choose the related link.

  2. Create or edit an address and fill in Country/Region Code and the relevant SAT codes.

    FieldDescription
    SAT State CodeSelect the state or region for the address.
    SAT Municipality CodeSelect the municipality for the address.
    SAT Locality CodeSelect the city, town, or district for the address.
    SAT Suburb CodeUse the assist-edit button to select the suburb.
    SAT Postal CodeReview the postal code from the selected suburb. You can't edit this field directly.
  3. Select Search (Alt+Q) in the upper-right corner, enter Locations, and then choose the related link.

  4. Open the location card and fill in the following fields in the Electronic Document section of the Address & Contact FastTab.

    FieldDescription
    SAT Address IDSelect the SAT address for the location.
    SAT CertificateSpecify the SAT certificate issued by the tax authority to the company branch at this location. To enable this field, set the Multiple SAT Certificates option on the General Ledger Setup page. If a document is posted with a location that has an assigned SAT certificate, that certificate is used to sign the electronic document. Otherwise, the certificate from the General Ledger Setup page is applied.
  5. Repeat the location setup for each location used for electronic documents.

Set up cancellation reasons

  1. Select Search (Alt+Q) in the upper-right corner, enter CFDI Cancellation Reasons, and then select the related link.
  2. Select New to create new cancellation reason or select Edit to make changes to an existing one.
  3. In the Code field, enter a value that corresponds to the SAT cancellation reason definition.
  4. In the Description field, enter a brief summary according to the SAT cancellation reason definition.
  5. In the Substitution Number Required field, specify whether a substitution number is required according to the SAT cancellation reason definition.
  6. Close the page.

When you cancel a posted document with reason 01, specify the replacement document in the Substitution Document No. field on that document, not on the cancellation reason.

Map key data to the CFDI fields

You can let Business Central map relevant fields to the data structure that is required by CFDI by using the Set up Mexican CFDI information assisted setup guide, or you can map the fields manually.

Use assisted setup

  1. Select Search (Alt+Q) in the upper-right corner, enter Mexican CFDI information, and then choose the related link.
  2. Follow the steps in the Set up Mexican CFDI information assisted setup guide to map information about your company and how you use Business Central to the various fields in the CFDI files.

Map fields manually

If you prefer to map the fields yourself, then you must update the following pages:

  • Countries/Regions
  • Units of Measure
  • SAT Tax Schemas
  • Payment Methods
  • Payment Terms

Map your country codes to the values that SAT requires

  1. Select Search (Alt+Q) in the upper-right corner, enter Countries/Regions, and then choose the related link.
  2. In the SAT Country Code field, specify the country code required for reporting to the Mexican tax authorities (SAT).
  3. Repeat steps 1-2 for all country codes.

Map your units of measure to the values that SAT requires

  1. Select Search (Alt+Q) in the upper-right corner, enter Units of Measure, and then choose the related link.
  2. In the SAT UofM Classification field, specify the unit of measure required for reporting to the Mexican tax authorities (SAT).
  3. Repeat steps 1-2 for all units of measure.

Configure SAT tax regime classification

  1. Select Search (Alt+Q) in the upper-right corner, enter SAT Tax Schemas, and then choose the related link.
  2. Fill in the fields as appropriate. Hover over a field to read a short description.

Map your payment methods to the values that SAT requires

  1. Select Search (Alt+Q) in the upper-right corner, enter Payment Methods, and then choose the related link.
  2. In the SAT Method of Payment field, specify the SAT code that describes how the customer pays the invoice.
  3. Repeat steps 1-2 for all payment methods.

Map your payment terms to the values that SAT requires

  1. Select Search (Alt+Q) in the upper-right corner, enter Payment Terms, and then choose the related link.
  2. In the SAT Payment Form field, specify the number of the SAT payment form.
  3. Repeat steps 1-2 for all payment terms.

Electronic Invoicing
Generate Electronic Invoices
Mexico Local Functionality

Find free e-learning modules for Business Central here