Cancelled NF-e Legal Number (retCancNFe)

This transmission type refers to the answer received from SEFAZ immediately after the transmission software sends the XML file that includes the cancelled NF-e legal number information (cancNFe XML file). The system uses and parses the information received in the response to update the JD Edwards EnterpriseOne tables.

(Release 9.2 Update) The email notification includes the xml file, and the request xml file for cancellation that is submitted to the government, as attachments. For the email notification, the system looks if the email recipients are already retrieved for the processed nota fiscal through Email Recipient set up application P76B1030; otherwise, the R76B525 report automatically retrieves the email recipients for the nota fiscal and inserts the email recipients into F76B1030. The requested xml file information is retrieved from the F76B22TE table, and the xml file is retrieved from the specified path location (if available) and attached with the email. The processed response xml file name and the generated xml file name which was submitted to SEFAZ are updated in the table F76B22TE (NFe Legal numbers Unused/Cancelled BRA - 76B) for cancelled NFes.

When the email notification process is successful, the system updates the Email Status to 1 and Email sent date in F76B22TE table for the processed nota fiscal. The Email Status is set to 2 when the email notification fails.

This illustration shows the steps for sending the cancNFe XML file and receiving the retCancNFe XML file:

Process Flow for the retCancNFe XML File