Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

CFDI withholding 1.1 version for Mexico is available in Microsoft Dynamics AX 2012

View products that this article applies to.


This article describes a country-specific update for Mexico of CFDI withholding layout version 1.1 in Microsoft Dynamics AX 2012.

↑ Back to the top


CFDI withholding document is an electronic withholding certificate established by the tax authorities in Mexico (SAT) and applicable for vendor payments when ISR and VAT withholding taxes are applied.

The following country specific update will allow Microsoft Dynamics users to generate CFDI withholding XML file documents to be issued to PAC service provider in accordance with layout 1.1 established by the tax authorities in Mexico (SAT).

The CFDI withholding document includes all information required by government as company details, vendor account and amount of withholding taxes related.

To meet these new legislation changes requirements in Microsoft Dynamics AX, new configurations and scenarios are introduced in Microsoft Dynamics AX 2012 in the following areas:

  • E-invoices parameters and integration with PAC
  • Catalogs
  • Vendor account master data setup
  • Purchase invoice transactions
  • General ledger transactions
  • CFDI withholding generation and inquire process 

↑ Back to the top


Electronic invoice parameters

If your organization applies withholding taxes in purchase and generates CFDI withholding documents that are validated and certified by a third-party digital signature service provider (PAC), enable the CFDI withholding by using the fields in the CFDI withholding area of the Electronic invoice parameters form.

The following changes are introduced as part of changes in layout version 1.1:

  • CFDI XML schema file. Path and schema file to validate the CFDI withholding document.
  • CFDI XSLT file. Path and XSLT file to generate the original string that is part of digital stamp.
  • CFDI digest algorithm. SHA-1.
  • E-mail ID. Identification code of the email template is used to send CFDI withholding by e-mail when required.

Number sequences in Microsoft Dynamics AX are used to generate readable, unique identifiers for master data records and transaction records that require identifiers.

CFDI withholding journals transactions require unique identification and a new reference has been created to record these type of journals.

  • Reference. CFDI withholding journal ID.
  • Number sequence code. Define the number sequence code for CFDI withholding journals.


As part of new layout version 1.1, the tax authority has introduced new catalogs that are addressed in Microsoft Dynamics AX in the following way:

SAT Catalogs

Microsoft Dynamics AX mapping


Organization administration > Setup > Einvoice > SAT classifications > Withholding type, to introduce the list of withholding type classification defined by the government. The user will be able to introduce the following information: Code, description, type of complement that the CFDI withholding will generates. 

The withholding type should be also assigned to vendor master data under Vendor account > Invoice and delivery > Withholding type as default value and then the user can change the withholding type during the purchase transactions registration. 


This categorization is included in the Vendor master data> Invoice and delivery, where the user will be able to select the type of tax payer subject to withholding. 

↑ Back to the top

CFDI withholding generation

CFDI withholding documents will be generated from tax transactions where the sales tax codes IVA and ISR type are defined as Negative in the following transactions entry points:

  • Purchase invoice;
  • Vendor invoice (non PO);
  • Invoice register;
  • Invoice journal;
  • Journal transaction in General Ledger module when vendor account is present.

Withholding type is defaulted from the vendor account and the user can change the withholding type during the transaction registration process.

Periodic process

The generation of CFDI withholding document is performed from Accounts payables > Periodic > CFDI > Generate CFDI withholding.

The user can select the following criterion :

  • Vendor account
  • From Month year
  • To Month year

After the process if confirmed, CFDI withholding documents are generated and the user must to start the process to request the digital stamp to PAC service provider, Accounts payables > Periodic > CFDI > Export/Import CFDI withholding process.

Specific complements are generated for the following withholding types:

  • Interest (16). Additional information is required during the transaction registration as: 
    • Transaction belongs to financial system;
    • Interest cashed in the current period/year;

    • Interests belongs to derived financial operations;

    • Nominal, real interest and loss interest amounts.

  • Foreign payments (18). Additional information must be configured in the vendor master data when foreign vendor RFC of legal representative in Mexico.

Note Other complement are not currently supported in this feature.

Inquire CFDI withholding documents

After the CFDI withholding document is issued to PAC, you can inquire the status and perform the related actions in Accounts payables >Inquire > Journals > CFDI withholding journal.


  • Request digital stamp
  • Cancel CFDI
  • Manual Cancel 
  • View XML 
  • Export XML
  • Send email
  • Delete journal. Use this option to remove the CFDI withholding document, when the status is in Blank or when you receive a rejection from PAC and changes are required to fix the status. 


Use the Posted sales tax option to view the taxes included in the CFDI withholding document and related information about source document.


The printed CFDI withholding document includes the representation of the generated XML file and two-dimensional bar code in accordance with the format of QR Code (Quick Response Code) that is described in the standard ISO/IEC18004.


Use this option to track the incoming and outgoing XML messages exchanged with the PAC service provider.

↑ Back to the top

Hotfix information

This update is available for manual download and installation from the Microsoft Download Center.

Note You can refer to the above link and download the related hotfix.


You must have one of the following products installed to apply this hotfix:

  • Microsoft Dynamics AX 2012

Restart requirement

You must restart the Application Object Server (AOS) service after you apply the hotfix.

If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft website:

You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft websites:



In special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.

↑ Back to the top

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top

Keywords: kbexpertiseinter, kbexpertisebeginner, kbexpertiseadvance, kbmbsquickpub, kbmbsmigrate, kbmbspartner, kbnoloc, Mexico CFDI withholding, kbsurveynew, kbqfe

↑ Back to the top

Article Info
Article ID : 4075063
Revision : 12
Created on : 2/27/2018
Published on : 11/10/2018
Exists online : False
Views : 382