Fiscal Document Generation

A fiscal document is generated to represent sale of goods or services and movement of goods or assets from one location to another. A fiscal document provides all relevant details of a transaction, including applicable taxes and associated fiscal attributes.

A fiscal document is created in an XML format and is validated by the tax authorities before it's sent to the customers. It can also be sent in a paper format, called DANFE, along with the goods.

You can void or cancel a fiscal document within a specified time period. You can also generate an alternate document in contingency mode, in case there is no response from the tax authority.

You can generate a fiscal document either from the Receivables workflow or Shipment workflow. A receivables invoice is used to support the generation of a fiscal document for sale of goods, services, or both. From Shipment, you can generate fiscal documents for internal material transfers and return to supplier transactions.

You can generate a fiscal document only for transactions that are associated with a business unit operating in Brazil.

To correctly generate the fiscal document, ensure the Enable Fiscal Document Processing check box is enabled on the Localization System Options page. This lets you capture the appropriate fiscal attributes.

After the fiscal document is generated, it can be extracted in an extract file. You can use third party software to interface the document to the tax authority portal and capture back the approval or rejection status. Alternatively, you can manually upload the fiscal document to the tax authority portal and update the return status in the Oracle Fusion Cloud Applications.

A service fiscal document follows a similar flow but it should be approved by a city tax authority, since the service taxes are collected by cities. For service invoices, separate fiscal documents are generated for each invoice line and handled individually. Similarly, mixed invoices with goods and service lines will generate one mixed fiscal document that's submitted to the state or federal tax authority and one service fiscal document for each service line that's submitted to the city tax authority.

Exportation Attributes in Brazilian Fiscal Documents

Capture exportation-related attributes and include them in Brazilian fiscal documents. This allows customers to create fiscal documents for exportation purposes.

Use the Fiscal Header Attributes Supplement for Brazil Goods Exportation option to provide required attributes for goods exportation:

  • Export Ship Location
  • Export Dispatch Location

These locations are used to expose the location description and the state (for the export ship location) in the fiscal document XML output.

You can refer the customer purchase order information at the fiscal document line attributes. This information is populated from the sales order lines if a shipping fiscal document is available and relevant information is provided.

Use the Operation Purpose field to identify a group of transactions based on user-defined operations.

To define an operation purpose, follow these steps:

  1. Navigate to Manage Standard Lookups.
  2. Search for the ORA_JLBR_FD_OP_PURPOSE_CODE lookup type.
  3. Add a new Lookup Code.
  4. Enter the Lookup Code, Meaning and set it as Enabled.
  5. Save.

Additionally, you can use the new regional information Fiscal Line Details Attributes for Brazil Goods Export option to provide the exportation drawback details if required.

The existing industry related attributes were moved to their own regional information level or line level detail to provide more visibility to fiscal attributes. Click the Details icon at the corresponding level to access these attributes:

  • Fiscal Line Attributes Supplement for Brazil for Vehicles
  • Fiscal Line Attributes Supplement for Brazil for Fuel
  • Fiscal Line Details Attributes Supplement for Brazil Medicine
  • Fiscal Line Details Attributes Supplement for Brazil Weapons

The Import Outbound Fiscal Document Attributes FBDI template is updated to use these regional information options provided in the Global Attribute Category:

Regional Information for Fiscal Document Generation includes:

Regional Information Global Attribute Category
Fiscal Header Attributes Supplement for Brazil Goods JLxBRFsclHdrAtrbExtGoods
Fiscal Header Attributes Supplement for Brazil Goods Export JLxBRFsclHdrAtrbExtGoodsExport
Fiscal Line Attributes Supplement for Brazil for Vehicles JLxBRFsclLineAtrbExtVehic
Fiscal Line Attributes Supplement for Brazil for Fuel JLxBRFsclLineAtrbExtFuel
Fiscal Line Details Attributes Supplement for Brazil Medicine JLxBRFsclLnDtlAtrbExtMedicine
Fiscal Line Details Attributes Supplement for Brazil Weapons JLxBRFsclLnDtlAtrbExtWeapon
Fiscal Line Details Attributes Supplement for Brazil Goods Export JLxBRFsclLnDtlAtrbExtGoodsExp
Note: The support for global attributes is allowed without the Global Attribute Category information for compatibility purposes, excluding the new and required exportation-related contexts. However, you must update your integration to maintain the proper information display in the Fiscal Attributes page and take advantage of future updates.

These new elements are implemented in the output file of the Send Fiscal Document to Tax Authority process:

  • New Fiscal Document Header XML tags
  • New Fiscal Document Header Attributes XML tags
  • New Fiscal Document Line Attributes XML tags
  • New Fiscal Document Line Details Attributes XML tags
Note: The hard-coded named tags for the global attributes are used in the fiscal attributes for compatibility purposes excluding the new exportation-related ones. The same global attributes are also displayed in the corresponding global attribute category. However, tax authority partner integrators must update their integrations to take advantage of future updates.