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.

Cancellation and correction Letter NF-e's rejection in Microsoft Dynamics AX 2009 SP1


View products that this article applies to.

Symptom

When you send or receive NF-e's (electronic invoices) from Microsoft Dynamics AX 2009 Service Pack 1 to or from the fiscal authority for processing cancellation or correction letter invoices, you receive the following error message:
Unable to find node /x:retEnvEvento/x:retEvento/x:infEvento/x:cStat in the message.

↑ Back to the top


Cause

Dynamics AX 2009 Service Pack 1 is sending the date/time referred to the dhEvento tag with the wrong format because the AX company is configured to use a different Time Zone than (GMT -03:00) Brasilia.

According to the Taxpayer Guidance Manual (Manual de Orientacao Contribuinte v5.00.pdf), the field must be in the format AAAA-MM-DDThh:mm:ssTZD (UTC - Universal Coordinated Time) where TZD should be -02:00 (Fernando de Noronha), -03:00 (Brasília) or -04:00 (Manaus), and during the daylight saving time period it would be -01:00, -02:00 and -03:00. The Fiscal Authority (SEFAZ) rejects the XML with the following code, but the error is not updated in the AX form because SEFAZ returns the XML string in a different format: "215 - Rejection: XML schema failed."

↑ Back to the top


Resolution

To resolve this issue, change the AX company Time Zone to (GMT -03:00) Brasilia.  

↑ Back to the top


Keywords: kbbug, kbfix, kbtshoot, kbsurveynew, kbnoloc, kbexpertisebeginner, kb, kbexpertiseadvanced, kbmbsmigrate, kbmbsquickpub, kbmbspartner, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 2909157
Revision : 1
Created on : 1/7/2017
Published on : 1/28/2014
Exists online : False
Views : 227