Understanding Sales Order Management for Brazil

In Brazil, the government requires that businesses maintain detailed information about all merchandise and associated taxes during the delivery process. The information accompanies shipments in the nota fiscal.

When you use the JD Edwards EnterpriseOne Sales Order Management system in Brazil, you associate applicable Brazilian taxes with your sales orders. You then generate and print notas fiscais for the orders. When you generate the notas fiscais, the system assigns a temporary number to the order. You can use this temporary number when you review or revise your orders. When you print notas fiscais, the system assigns the appropriate number from the numbering sequence that is assigned to your company by the Brazilian government. You set up the Nota Fiscal Next Number - Brazil program (P7600B) with the numbering sequence that is assigned to your company.

The system automatically creates journal entries to account for the notas fiscais that are created during the JD Edwards EnterpriseOne Sales Order Management process.

See Understanding NFe and DANFe Generation

To process sales orders in the JD Edwards EnterpriseOne Sales Order Management system, complete these tasks:

  1. Enter the sales order by using the Sales Order Entry - Header - Brazil (P4210, version ZJDE7002) or the Sales Order Entry - Detail - Brazil (P4210, version ZJDE7001) programs.

  2. Confirm the shipment by using the Shipment Confirmation program (P4205).

  3. Generate the nota fiscal by running the Generate Nota Fiscal - Brazil program (R76558B).

    This program assigns a temporary number to the nota fiscal and calculates Brazil tax amounts.

    Ensure the appropriate Nota Fiscal Type is set in the processing options in the Default section (0 for classical and Sao Paulo notas fiscais and 1 for National NFe and NFCe).

  4. Add additional charges by using the Nota Fiscal Maintenance - Brazil program (P7610B).

    This program lets you add freight, insurance and other expense information to the nota fiscal.

  5. According to the type of Nota Fiscal that your company uses:

    Classical Nota Fiscal

    Print the final nota fiscal by running the Print Nota Fiscal - Ship From program (R76560B).

    This program assigns the nota fiscal number according to the next numbering scheme that you set up, and then prints the nota fiscal.

    Sao Paulo Nota Fiscal
    • Print the final nota fiscal by running the Print Nota Fiscal – Ship From program (R76560B).

    • Generate the XML NFe file running the Nota Fiscal Elec. - Outbound program (R76B560Z1) from a menu option or use processing options so the system can run it in this stage of the process.

    • Use the XML Transaction Review program (P70XMLZ1) to review the data that you wrote to the tables for the outbound transaction.

    • Use the custom program that you develop or that you obtain from a third-party to format in the legally required layout the XML data generated by the JD Edwards EnterpriseOne programs.

    • Use the custom program that you develop or that you obtain from a third-party to send the formatted XML data to the fiscal authority.

    • Use the custom program that you develop or that you obtain from a third-party to receive the data that the fiscal authority sends back.

    • Run the XML Inbound Process program (R70XMLI1) to update your system with the information that you receive back from the fiscal authority.

      Use the XML Transaction Review program to review the data that you receive.

    • Use the Nota Fiscal Elect. Revision program (P76B01TE) to review updated nota fiscal information and release the nota fiscal that was put on hold by the Nota Fiscal Elec. - Outbound program.

    National Nota Fiscal and NFC-e
    • Generate the NF-e XML file by running the NF-e Info Generation program (R76B561), which runs the NF-e Info Generation by Lot UBE program (R76B561L).

      You can run the NF-e Info Generation program from a menu option or from the NF-e Response Process and Contingencies program (P76B12TE).

    • Submit the NFe XML file to SEFAZ.

      You can use a custom, a third-party program, or the NF-e Transmission program (P76B0021) to submit the file to SEFAZ.

      The NF-e Transmission program enables you to select the file, select the service (submit for processing, cancel, or destroy), and transmit the file to SEFAZ. You can view the status of the submission in the NF-e Transmission program.

    • Receive the response from SEFAZ.

    • Upload the final response file from the SEFAZ by running the appropriate version of the NFe XML Response Processing program (R76B525). Use the menu entry for the appropriate XML version.

      The NFe XML Response Processing program retrieves the response XML file from the source folder and updates the JD Edwards EnterpriseOne tables.

      You can also upload the response by using the NF-e Response Process and Contingencies program (P76B12TE), and for unused and cancelled NFes by using the Unused/Cancelled NF-e Numbers program (P76B22TE).

    • Print the DANF-e document from the NF-e Response Process and Contingencies program (P76B12TE).

  6. Update journal entries for Brazil taxes by running the Update Sales - Brazil program (R76B803).

  7. Update other sales files by running the Sales Update program (R42800).