NFe Response Status Code (76B/RS)

When the NFe XML Response Processing program processes XML response files, it validates the status of the file by comparing the status code in the {cStat} element in the XML file to the codes that exist in the 76B/RS UDC table.

The status code for an approved DPEC response or an EPEC response is different from the approval code for other transmission types.

The approval code for a response file for DPEC transmissions is 124. You must add the code 124 (approved) to the 76B/RS UDC table, and specify a value of D in the Special Handling Code field. The rest of the acceptance statuses must be A.

For summarized EPEC responses, the system uses the value in the second position of the special handling code of the 76B/RS UDC table. For example, specify a value of D in the second position of the Special Handling Code field for approved responses.

This table shows examples of values that you might set up:

Codes

Description

Special Handling Code

100

NF-e usage authorization

A

124

Contingency DPEC

D

202

Reject: audit acknowledge fail

E

135

Registered and Related to NFe

AD