Understanding How to Upload Inbound Information for Electronic Nota Fiscais

After the fiscal authority validates the electronic notas fiscais that you send by using the third-party software, you receive back an XML file that includes:

  • NFe number and verification date.

  • RPS series, number, and date of issue.

  • NF situation code.

  • Cancel date.

  • Guia number and date.

  • ISS value.

  • Credit value.

You run the third-party software or your custom programming to move the data that was received by that software into the F70XMLZ1 table in the JD Edwards EnterpriseOne software. The third-party software or custom programming assigns a transaction type of BRNFI-SP to transactions for São Paulo, and assigns a transaction type of BRNFI-NA for national transactions.

You run the XML Inbound Transaction Process program to read the data for the inbound file that exists in the F70XMLZ1 table and update other JD Edwards EnterpriseOne tables. If the transactions are for São Paulo (transaction type is BRNFI-SP), the system reads the processing options that you set in the PO Transaction BRNFSP program (P76BX001). For these transactions, the system:

  • Updates the F76B01TE table with the receipt and legal numbers when the NFe is accepted.

    The system also writes the information to the F76B01TE table if the transaction is rejected or canceled.

  • Updates the F76B11TE table with the ISS amount for BRNFI-SP transactions.

  • Updates tax amounts in the F7601B and F7611B tables for BRNFI-SP transactions if the Sale Update program was not run for these transactions.

    The system also updates the F7601B table with the issue date.

  • Uses the values in the processing options in the PO Transaction BRNFSP *** program to change the status of the sales order according to order activity rules.