Understanding NF-e Info Generation UBE (R76B561) (Release 9.2 Update)

Use the NF-e Info Generation UBE (R76B561) to extract all the NFe related data that is used to generate the required legal XML that is sent to SEFAZ. The NF-e Info Generation UBE uses information from the following tables:

  • Nota Fiscal Header (F7601B)

  • Nota Fiscal Detail (F7611B)

  • NF-e Header (F76B01TE)

  • NF-e Status Log (F76B12TE)

In addition to using the menu navigation, you can run the NF-e Info Generation UBE from the NF-e Response Process and Contingencies program (P76B12TE).

The different versions of the NF-e Info Generation UBE determine the relationships between the UBE output, the templates, the DANFe templates and BI Publisher reports definitions. Review the relationships in the following table:

Output

Version

Emission Type Processing Option Value

Template

BI Publisher Report Definition

Normal NFe XML File

ZJDE0001

1

TP76B561TS1

RD76B561A

Normal DANFe Report

ZJDE0002

1

TP76B561TR1 and TP76B561ERR

RD76B561B

FS NFe XML File

ZJDE0005

3

TP76B561TS1

RD76B561E

FS DANFe Report

ZJDE0006

3

TP76B561TR2 and TP76B561ERR

RD76B561F

DPEC NFe XML File

ZJDE0007

4

TP76B561TS1 and TP76B561TS2

RD76B561G

DPEC DANFe Report

ZJDE0008

4

TP76B561TR3 and TP76B561ERR

RD76B561H

FS-DA NFe XML File

ZJDE0009

5

TP76B561TS1

RD76B561I

FS-DA DANFe Report

ZJDE0010

5

TP76B561TR2 and TP76B561ERR

RD76B561J

SVC-AN NFe XML File

ZJDE0011

6

TP76B561TS1

RD76B561L

SVC-AN DANFe Report

ZJDE0012

6

TP76B561TR1 and TP76B561ERR

RD76B561M

SVC-RS NFe XML File

ZJDE0013

7

TP76B561TS1

RD76B561N

SVC-RS DANFe Report

ZJDE0014

7

TP76B561TR1 and TP76B561ERR

RD76B561O

Normal NFC-e XML File

ZJDE0015

1

TP76B561TS4

RD76B561W

Normal NFC-e QR DANFe Report

ZJDE0016

1

TP76B561ERR and TP76B561TR4

RD76B561AG

FS NFCe XML File

ZJDE0017

2

TP76B561TS4

RD76B561AJ

FS NFC-e DANFe Report

ZJDE0018

2

TP76B561TR4 and TP76B561ERR

RD76B561AK

FS-DA NFC-e XML File

ZJDE0019

5

TP76B561TS4

RD76B561X

FS-DA NFC-e DANFe Report

ZJDE0020

5

TP76B561TR4 and TP76B561ERR

RD76B561AH

Offline NFC-e XML File

ZJDE0021

9

TP76B561TS4

RD76B561Y

Offline NFC-e DANFe Report

ZJDE0022

9

TP76B561TR4 and TP76B561ERR

RD76B561AI

Normal NF-e 3.1 XML File

ZJDE0023

1

TP76B561TS4

RD76B561P

Normal NF-e 3.1 DANFe Report

ZJDE0024

1

TP76B561TR1 and TP76B561ERR

RD76B561Z

SCAN NFe 3.1 XML File

ZJDE0025

2

TP76B561TS4

RD76B561Q

SCAN NF-e 3.1 DANFe Report

ZJDE0026

2

TP76B561TR1 and TP76B561ERR

RD76B561AA

FS NF-e 3.1 XML File

ZJDE0027

3

TP76B561TS4

RD76B561R

FS NF-e 3.1 DANFe Report

ZJDE0028

3

TP76B561TR2 and TP76B561ERR

RD76B561AB

EPEC NF-e 3.1 XML File

ZJDE0029

4

TP76B561TS4 and TP76B561TS5

RD76B561S

EPEC NF-e 3.1 DANFe Report

ZJDE0030

4

TP76B561TR5 and TP76B561ERR

RD76B561AC

FS-DA NF-e 3.1 XML File

ZJDE0031

5

TP76B561TS4

RD76B561T

FS-DA NF-e 3.1 DANFe Report

ZJDE0032

5

TP76B561TR2 and TP76B561ERR

RD76B561AD

SVC-AN NF-e 3.1 XML File

ZJDE0033

6

TP76B561TS4

RD76B561U

SVC-AN NF-e 3.1 DANFe Report

ZJDE0034

6

TP76B561TR1 and TP76B561ERR

RD76B561AE

SVC-RS NF-e 3.1 XML File

ZJDE0035

7

TP76B561TS4

RD76B561V

SVC-RS NF-e 3.1 DANFe Report

ZJDE0036

7

TP76B561TR1 and TP76B561ERR

RD76B561AF

EPEC NFC-e 3.1 XML File

ZJDE0037

4

TP76B561TS4

TP76B561TS6

RD76B561AL

EPEC NFC-e 3.1 DANFe Report

ZJDE0038

4

TP76B561TR3 and TP76B561ERR

RD76B561AM

Normal NF-e 4.0 XML Generation

ZJDE0039

1

TP76B561TS8

RD76B561AN

Normal NFC-e 4.0 XML Generation

ZJDE0040

1

TP76B561TS8

RD76B561AO

FS NFC-e 4.0 XML Generation

ZJDE0041

2

TP76B561TS8

RD76B561AP

FS-DA NFC-e 4.0 XML Generation

ZJDE0042

5

TP76B561TS8

RD76B561AQ

Offline NFC-e 4.0 XML Generation

ZJDE0043

5

TP76B561TS8

RD76B561AR

EPEC NFC-e 4.0 XML Generation

ZJDE0044

4

TP76B561TS6 and TP76B561TS8

RD76B561AS

SCAN NF-e 4.0 XML Generation

ZJDE0045

2

TP76B561TS8

RD76B561AT

FS NF-e 4.0 XML Generation

ZJDE0046

3

TP76B561TS8

RD76B561AU

EPEC NF-e 4.0 XML Generation

ZJDE0047

4

TP76B561TS5 and TP76B561TS8

RD76B561AV

FS-DA NF-e 4.0 XML Generation

ZJDE0048

5

TP76B561TS8

RD76B561AW

SVC-AN NF-e 4.0 XML Generation

ZJDE0049

6

TP76B561TS8

RD76B561AX

SVC-RS NF-e 4.0 XML Generation

ZJDE0050

7

TP76B561TS8

RD76B561AY

The system runs the NF-e Info Generation UBE as many times as is required to process all the selected notas fiscais.

The system uses this program to complete lot-processing, based on the data selection, and then generates a job number in the Selected NFe by Lot - BRA table (F76B561). SEFAZ requires that the NFe is sent in an XML document containing 50 NFe's. Therefore, the system counts the notas fiscais and once the lot quantity value is reached, the system runs the NF-e Info Generation by Lot UBE, using the job number and the processing options values as the parameters. When the lot quantity value is reached, the system generates a new job number and the process continues. Once the lot is processed, the system deletes the records for that lot from the F76B561 table.

You can run a version of the NF-e Info Generation UBE without lots by changing the report definition template from TP76B561TS1 to TP76B561TS3.