(BRA) Post an NF-e from a sales order
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2
You can create and post a sales order to generate a Nota Fiscal eletrônica (NF-e). When you post the sales order, an NF-e XML file is generated and submitted to the Secretaria da Fazenda (SEFAZ).
After the status of the NF-e is received from SEFAZ, you can perform the following tasks:
If the NF-e is approved, you can print the Documento Auxiliar da Nota Fiscal Eletrônica (DANFE). Alternatively, if you selected the Print DANFE when NF-e is approved check box on the NF-e federal FastTab in the Fiscal establishments form, the DANFE is printed automatically. For more information, see (BRA) Verify the NF-e status and print the DANFE and (BRA) Set up NF-e parameters for a fiscal establishment.
If the NF-e is denied, you must cancel the NF-e. For more information, see (BRA) Cancel a customer NF-e.
If the NF-e is rejected and can be fixed, you can correct the incorrect information. You can then click Resend on the NF-e federal tab on the Action Pane in the Fiscal document form to resend the NF-e to SEFAZ.
If the NF-e is rejected and cannot be fixed, you must cancel the NF-e.
Use the following procedure to post an NF-e from a sales order.
Click Sales and marketing > Common > Sales orders > All sales orders.
–or–
Click Accounts receivable > Common > Sales orders > All sales orders.
Create a sales order. For more information, see (BRA) Create and post a sales order.
Click Line view.
On the Line details FastTab, on the Fiscal information tab, in the Fiscal document type field, select the type of fiscal document for the NF-e.
Nota
You can select only the fiscal document types that are defined for the fiscal establishment of the site for the selected sales order line.
In the CFOP field, select the Código Fiscal de Operações e Prestações (CFOP) code.
Nota
You can select only the CFOP codes that are based on the fiscal establishment of the site for the selected sales order line. You can also leave the CFOP field blank, because a CFOP code is not mandatory for the electronic fiscal document for services.
On the Setup tab, in the Sales tax group and Item sales tax group fields, select the sales tax group and item sales tax group for the selected order line.
On the Action Pane, on the Invoice tab, click Invoice to open the Posting invoice form.
Select the Posting and Print invoice check boxes to post the sales order and print the fiscal document.
Click OK to post the sales order. When you post the sales order, an NF-e XML message is generated and submitted to SEFAZ.
See also
(BRA) Set up NF-e federal parameters
(BRA) Set up print management for NF-e
(BRA) Set up email addresses for customers
(BRA) Set up email parameters and email templates for an NF-e
(BRA) Sales orders (modified form)