Handling Tax Authority Returns

The fiscal document event code is the request type sent to the tax authority. To submit a contingency fiscal document approval request, the fiscal document event code must be Contingency Request.

The Import Fiscal Document Approval Information process verifies each tax authority return code and moves the fiscal document to the corresponding fiscal document status. From the Manage Fiscal Document Generation task, you can view the fiscal document status and take these appropriate actions.

Field Document Event Code Tax Authority Tax Authority Return Codes
Approved Canceled Errors Pending Return Rejected Upload Failed/Void
Contingency request SEFAZ Yes - Yes Yes Yes -
Fiscal Document Status after Import Fiscal Document Approval Information Approved - Errors Pending Return Rejected -

This table describes how each tax authority return code is processed by the Import Fiscal Document Approval Information process and the corresponding user actions that you must take:

Tax Authority Return Codes Tax Authority Return Import Fiscal Document Approval Information User Action
Approved

Contingency Fiscal Document request is approved by SEFAZ.

Changes the fiscal document status from Sent to Approved.

For goods fiscal documents, this process captures Event Processing Date and Time and the Protocol Number.

If the fiscal document was generated in Receivables, it updates the Tax Invoice Number with the Fiscal Document Number, and the Tax Invoice Date with the Fiscal Document Date in the Receivables transaction lines and automatically completes the Receivables transaction.

If the fiscal document was generated in Inventory Management, the process allows the shipment to be ship confirmed.

Print regular DANFE (SVC) or DANFE Contingency (EPEC).

Continue the business flow:
  • If the fiscal document was generated in Receivables, proceed with the collection process.
  • If the fiscal document was generated in Inventory Management, proceed with the shipment process.
Errors Contingency Fiscal Document request is not approved by SEFAZ due to errors. Changes the fiscal document status from Sent to Errors. Transaction becomes updatable. Click the fiscal document status link and review all the error messages. Take the appropriate action to clear the errors and if necessary, regenerate the contingency fiscal document.
Pending Return contingency Fiscal Document request is pending response from SEFAZ. Changes the fiscal document status from Sent to Pending Return. Choose another contingency type and enter the contingency information in the Manage Fiscal Document Generation page.
Rejected

Contingency Fiscal Document use was denied by

SEFAZ.

Changes the fiscal document status from Sent to Rejected. Regularize the company’s situation for the tax authority to allow contingency fiscal document generation.
This document only discusses the tax authority return codes for contingency fiscal document event codes. For more information about other fiscal document event codes and fiscal document integration with third parties, see the Quick Reference for Oracle ERP Cloud Documentation for Brazil (2329725.1) on My Oracle Support.