(BRA) Set up NF-e federal parameters
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2
You can set up Nota Fiscal eletrônica (NF-e) web services, rejection codes, and schema to generate an NF-e. After you generate an NF-e, XML messages are generated and submitted to the Secretaria da Fazenda (SEFAZ).
Use the following procedures to set up NF-e federal parameters.
Set up web services for an NF-e
Click Organization administration > Setup > Brazil > NF-e federal parameters.
In the Web services area, in the Authorities grid, click New.
In the Authority field, enter the identification code of the agency that receives, approves, or rejects NF-e federal requests.
In the Name field, enter the name of the agency.
Select the Ignore accents check box to ignore accented characters in the XML file that you submit.
In AX 2012 R3 and cumulative update 6 or later for AX 2012 R2: Select the Cancel as Event check box to use the event web service to cancel electronic fiscal documents.
In AX 2012 R3 and cumulative update 6 or later for AX 2012 R2: In the Authority type field, select one of the following options to indicate the type of authority:
Common – The authority is a common authority.
SCAN – The authority is a Sistema de Contingência do Ambiente Nacional (SCAN) authority that is used for the SCAN contingency mode.
备注
You can set up only one authority for the SCAN contingency mode.
In the Web services grid, click New.
In the Environment field, select an environment for the web service from the following options:
Testing – The NF-e process is performed in the Secretaria da Fazenda (SEFAZ) test environment.
Production – The NF-e process is performed in the SEFAZ production environment.
In the Web service field, select the type of XML message that is used to communicate with the authority by using the web service environment address:
NF-e – Send an NF-e and receive an NF-e protocol.
Cancel – Send an NF-e cancellation.
Discard – Send a discarded NF-e.
NF-e inquiry – Send an inquiry about the NF-e status.
NF-e return – Return an inquiry NF-e that contains the NF-e status.
NF-e events – Send a correction letter NF-e and cancel an NF-e as an event.
Service inquiry – Verify the NF-e web service status.
备注
This control is not available in versions of Microsoft Dynamics AX 2012 prior to cumulative update 6 for AX 2012 R2.
In the Version field, enter the version number of the fiscal document layout.
In the Internet address field, enter the address for the web service.
Set up an NF-e rejection code
Click Organization administration > Setup > Brazil > NF-e federal parameters.
Click Rejection codes.
Click New to create a rejection code for an NF-e.
In the NF-e rejection code field, enter the NF-e rejection code.
In the Description field, enter a description for the NF-e rejection code.
In the Message type field, select the type of message:
NF-e – The NF-e message.
Cancel – The canceled NF-e message.
Discard – The discarded NF-e message.
In the Fiscal document status field, select the fiscal document status that is mapped to the rejection code.
Set up an NF-e schema
Click Organization administration > Setup > Brazil > NF-e federal parameters.
Click Schemas.
Click New to create a NF-e schema.
In the Schema type field, select the type of NF-e schema:
NF-e
Cancel
Discard
Correction letter
Cancel as Event
备注
This control is not available in versions of Microsoft Dynamics AX 2012 prior to cumulative update 6 for AX 2012 R2.
In the The version of the NF-e feature field, select the version number of the NF-e feature.
In the Schema field, enter the path and the file name of the XML schema that is used to validate an NF-e XML message that was rejected.
See also
(BRA) NF-e federal parameters (form)