Table
EFDocument_BR
Nota Fiscal eletronica - NF-e
Holds the electronic fiscal document (NF-e) record for a Brazilian fiscal document. It links to the fiscal document header, the contingency mode and the return code. It stores message status and type, protocol and receipt numbers, response time, and NFC-e data such as the QR code text.
- Table name
EFDocument_BR- Module
Fiscal books brazil- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
None- Key fields
None- Model
FiscalBooks
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AverageResponseTimeAverage response time, in seconds. | IntegerEFDocumentTimeInSeconds_BR | No | None | |
ConsumerEFDocInquiryUrlWeb address for NFC-e inquiry. | String (255)URL | No | None | |
ContingencyDateTimeDate and time when contingency mode started. | UtcDateTimeContingencyDateTime | No | None | |
ContingencyDateTimeOffsetTime offset for the contingency date and time. | Int64EFDocContingencyOffset_BR | No | None | |
ContingencyModeContingency mode that applied, such as SCAN or SVC-AN. | EnumEFDocContingMode_BR (enum) | No | None | |
ContingencyModeRefRecIDContingency mode record linked to the document. | Int64RefRecId | No | EFDocContingencyMode_BR.RecId | None |
ContingencyReasonReason why contingency mode was used. | String (255)EFDocContingencyReason_BR | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateDate of the document. | DateTransDate | No | None | |
MessageStatusState of the message: waiting to send, sent or processed. | EnumEFDocMessageStatus_BR (enum) | No | None | |
MessageTypeKind of message: NF-e, discard, cancel or cancel by substitution. | EnumEFDocMessageType_BR (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProtocolNumberProtocol number for the document. | String (20)EFDocProtocolNumber_BR | No | None | |
QrcodeTextText used to build the QR code. | String (-1)QrcodeText | No | None | |
ReceiptNumberReceipt number for the document. | String (15)EFDocReceiptNumber_BR | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdFiscal document header that this NF-e belongs to. | Int64RefRecId | No | FiscalDocument_BR.RecId | None |
ReturnCodeDescriptionText that explains the return code. | String (255)EFDocReturnCodeDescription_BR | No | None | |
ReturnCodeRefRecIdReturn code (NF-e rejection code) for the document. The label talks about price currency, which does not match the relation.low confidence | Int64ReturnCodeId_BR | No | EFDReturnCode_BR.RecId | None |
ReturnMessageMessage returned by SEFAZ, the tax authority. | String (200)EFDocReturnMessage_BR | No | None | |
SynchronousSubmissionWhether the document was sent synchronously: unknown, no or yes. | EnumUnknownNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeTime of the document. | TimeTimeOfDay | No | None |
Indexes (1)
FiscalDocument_BRIdxNot unique.
Relations (3)
Each relation joins EFDocument_BR to another table on the fields shown.
EFDocContigencyMode_BR→EFDocContingencyMode_BRJoin on
ContingencyModeRefRecID = EFDocContingencyMode_BR.RecIdMany EFDocument_BR records → zero or one EFDocContingencyMode_BR record
EFDReturnCode→EFDReturnCode_BRJoin on
ReturnCodeRefRecId = EFDReturnCode_BR.RecIdMany EFDocument_BR records → zero or one EFDReturnCode_BR record
FiscalDocument→FiscalDocument_BRJoin on
RefRecId = FiscalDocument_BR.RecIdMany EFDocument_BR records → zero or one FiscalDocument_BR record
Get this data out
No public entity reads from EFDocument_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with EFDocument_BR in a report, an integration or a migration? Talk to Dr Dynamics.