"Total ICMS amount origin differs from the summation of the items" error message when you send an NF-e file of an ICMS complementary invoice to the government in Microsoft Dynamics AX 2009 Service Pack 1 with the Brazilian localization layer installed

Applies To
Dynamics AX 2009 Service Pack 1

This article applies to Microsoft Dynamics AX for the Brazilian (br) region.

Symptoms

Assume that you apply hotfix 2637678 and hotfix 2677479 in Microsoft Dynamics AX 2009 Service Pack 1 (SP1) with the Brazilian localization layer installed. When you send an NF-e file of an ICMS complementary invoice to the government, the NF-e file is rejected by the government. Additionally, you receive the following error message:

Note

Error 531 - Rejection: Total ICMS amount origin differs from the summation of the items.

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

2637678 "215 - XML schema failure" error message when you send an NF-e v.2.0 file to SEFAZ-Paraná in Microsoft Dynamics AX 2009 Service Pack 1 with the Brazilian localization layer installed

2677479 "Function EFiscalDocument_BR::construct has been used incorrectly" error message when you post an ICMS complementary invoice in Microsoft Dynamics AX 2009 Service Pack 1 with the Brazil localization layer installed

Resolution

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix Download Available" section at the top of this Knowledge Base article. 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:

https:⁠//mbs.microsoft.com/support/newstart.aspx 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:

Partners

https:⁠//mbs.microsoft.com/partnersource/support/ Customers

https:⁠//mbs.microsoft.com/customersource/support/information/SupportInformat ion/global_support_contacts_eng.htm 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.

Installation information

If you have customizations for one or more of the methods or the tables that are affected by this hotfix, you must follow these steps:

  1. Review the changes that are documented in the .xpo file.
  2. Apply these changes in a test environment before you apply the hotfix in a production environment.

            
 For more information about how to install this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

893082 How to install a Microsoft Dynamics AX hotfix

Prerequisites

You must have Microsoft Dynamics AX 2009 Service Pack 1 with the Brazilian localization layer installed installed to apply this hotfix.

Restart requirement

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

File information

 The Brazilian version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
Axupdate.exe Not applicable 61,672 06-Jun-2012 07:32 x86
Kb2721103glp.xpo Not applicable 51,721,400 06-Jun-2012 07:24 Not applicable
Metadata.xml Not applicable 72 06-Jun-2012 07:24 Not applicable
Kb2721103.xpo Not applicable 66,853,660 06-Jun-2012 07:26 Not applicable
Metadata.xml Not applicable 72 06-Jun-2012 07:26 Not applicable
Axsetupsp.exe 5.0.1100.45 1,636,584 06-Jun-2012 07:32 x86
Cabextractor.dll Not applicable 19,184 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.dll 5.0.1100.9 150,440 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,880 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,336 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,880 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,880 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1500.1212 16,320 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 542,976 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,848 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,784 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 547,072 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 18,872 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 559,360 06-Jun-2012 07:42 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 20,408 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,688 06-Jun-2012 07:33 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 526,592 06-Jun-2012 07:32 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 15,800 15-Nov-2011 19:50 x86
Cabextractor.dll Not applicable 22,768 06-Jun-2012 07:32 x64

Objects that are affected

This hotfix affects the following objects:

  • \Classes\EFDocMsgFormat_XmlSubmit_BR\create_total_Element
  • \Classes\EFDocMsgFormat_XmlSubmit_BR\create_imposto_Element

Validation of the application hotfix installation

To validate the installation of the application hotfix, open the SysHotfixManifest class in the Application Object Tree (AOT). Then, verify that there is a method whose name includes the Knowledge Base (KB) article number of the installed hotfix. Additionally, you can cross-check the affected objects by comparing the KBXXXXXX.txt file against the objects in the AOT. By doing this, you can make sure that the objects are changed correctly in the SYP layer or in the GLP layer.

Note The XXXXXX placeholder represents the KB article number of the installed hotfix.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

974255 Impact Analysis feature for Dynamics AX 2009

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein 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.