Requesting Authorization for Documents
Before you can print and send the printed version of the electronic nota fiscal (called a DANFE) or of the conhecimento eletrônico (DACTE) along with the goods, you need authorization from the tax authorities.
You have made the required Customizing settings.
An electronic fiscal document (such as NF-e or CT-e) is created in one of the following ways:
The system automatically generates an electronic fiscal document from applications such as in Materials Management
(MM) and Sales and Distribution
(SD) as described in Nota
Fiscal.
You create an electronic fiscal document manually (see Creating a Nota Fiscal) using the Nota Fiscal Writer.
When the electronic fiscal document is created, the system makes an entry in the database. You can monitor the status of the document using the NF-e/CT-e Monitor (see step 4).
The system sends the electronic fiscal document to the messaging system (see Customizing for Numbering and Sending NF-es to the Messaging System for different options) that runs a validation check on the document. If the messaging system finds an error in the electronic fiscal document, it returns the corresponding status (see Interfaces for Messaging-System Actions for possible statuses) to the back-end system
In case of a validation error (MSS = V), check the log of the document in the monitor and decide on one of the following options:
Reset the status of the electronic fiscal document by choosing in the Monitor; correct the document data; and resend it by choosing .
Send a skip request to the authorities to cancel the electronic fiscal document.
In case of another message system error (MSS = G or D), have your system administrator check the error in the messaging system.
If no error is found in the file, the messaging system sends an outbound message to the tax authorities to request authorization for the electronic fiscal document.
You check the status of Document using the NF-e/CT-e Monitor.
The tax authorities send one of the following responses (to the initial request for authorization) via an inbound message:
Authorized
The tax authorities send the authorization in form of a 15-digit numeric code, which the system updates in the document. You can see it in the Protocol Number
field, via the Monitor or via the Nota Fiscal Writer (under NF-e
Data
). The system also updates the corresponding document status, system communication status, and official status code (and status code description, if maintained).
Rejected
This status indicates an inconsistency in the electronic fiscal document data, which you must correct. You have two options: You can reset the status of the document by choosing in the NF-e/CT-e Monitor; correct the document data; and resend it by choosing . Alternatively, you can send a skip request to the authorities to cancel the electronic fiscal document, as follows:
Request cancellation of the original electronic fiscal document (see User Actions for Individual Documents).
Wait for a response from the tax authorities.
If the tax authorities authorize your request to cancel the electronic fiscal document, the system cancels the source document (and automatically cancels the corresponding electronic fiscal document) or the standalone electronic fiscal document created in the Nota Fiscal Writer.
It is unlikely that the tax authorities would reject your request to cancel the electronic fiscal document, but if this does occur, repeat your skipping request.
Create a new source document or standalone electronic fiscal document, which has to go through the normal authorization process.
After you receive authorization for the new document, you can print the it.
Denied
This status indicates a serious problem (for example, taxes have not been paid. In this case, the system automatically cancels the electronic fiscal document and its source document.
Note
Note that it is possible that you do not receive a timely response from the tax authorities because, for example, the connection to your messaging system or the authorities’ server is down, and you cannot wait for authorization or it would interrupt your business. In such cases, the government allows you to continue your business process by processing in contingency mode. You are allowed to: 1) switch individual Document already posted under normal conditions to contingency, or 2) activate contingency centrally for your whole business place or region, after which all newly posted electronic fiscal documents are posted directly under contingency.
After the electronic fiscal document is authorized, you can print and send it with the goods.