Issue of the Fiscal Document Invoice
Create a manual fiscal document in Invoicing to retrieve the authorized XML from SEFAZ to create the receiving invoice. To create a manual fiscal document, execute these steps:
- Click in the Invoicing (btsli2100m000) session and . The Invoicing (btsli2100m900) session is displayed.
 - Specify the required data from DI in the document header and the invoice line data on the importation Data tab.
 - Select the fiscal document of type import in the Fiscal Document Type Code field.
 - Press .
 - Verify that the Invoicing Fiscal Document Type field is set to in the Document Data section.
 - Verify that the Manual document and the Electronic Fiscal Document check boxes are selected.
 - Click .
 - Click the button for the fiscal document line on the Lines tab. The Receipt Lines – Details (btrec2101m900) session is displayed.
 - Review the data on the Lines – Taxes tab.
 - Click the Import tab.
 - Select the (Import Declaration) DI number in the DI/DA Number field.
 - Press . The import data defined on the Importation Data tab of the Invoicing (btsli2100m900) session is updated in the other fields in the Import section.
 - Verify that your fiscal document is selected in the Invoicing (btsli2100m000) session.
 - Click . The Print Invoicing (btsli2400m000) session is displayed.
 - Click to print the fiscal document. The NFe is Authorized and the XML file is generated.