(BRA) About NF-e schemas and processes

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

You can generate a nota fiscal eletrônica (NF-e) to register the movement of items and services between two parties. After you generate an NF-e, the NF-e export or import process detects the posted fiscal document and generates XML messages according to the fiscal document processes, which are submitted to the Secretaria da Fazenda (SEFAZ). You can set up the NF-e schema that is used to validate the XML message in the NF-e federal parameters form. For more information, see “Set up an NF-e schema” in (BRA) Set up NF-e federal parameters.

NF-e process

During the NF-e process, the XML messages are generated depending on the status of the NF-e, as follows:

  • Send NF-e – This XML message type is used to send an NF-e that is posted by using the NF-e federal fiscal document type.

  • Send NF-e Cancellation – This XML message type is used to send a cancellation of an NF-e that is generated when you cancel an Approved NF-e.

  • Send Discarded Number – This XML message type is used to send a discarded NF-e number that is generated when you reverse a Created, Rejected, or Rejected non fixable NF-e.

  • Return NF-e – This XML message type is used to receive a returned message for an NF-e from SEFAZ.

  • Return NF-e Cancellation – This XML message type is used to receive a returned message for a canceled NF-e from SEFAZ.

  • Return Discarded Number – This XML message type is used to receive a return message for a discarded NF-e from SEFAZ.

  • Send Inquiry NF-e status – This XML message type is used to inquire about the status of an NF-e that was sent to SEFAZ.

  • Return Inquiry NF-e status – This XML message type is used to receive the status of the NF-e from SEFAZ.

See also

(BRA) Configure a digital certificate for an NF-e

(BRA) About the NF-e process