Table

EFDocumentReceivedXML_BR

Received NF-e XML documents

Holds NF-e XML documents received in Brazil. Each row has the access key, number, series, issuer CNPJ, inquiry status and posting flags. It links to a fiscal document and a fiscal establishment. It has no defined key.

Table name
EFDocumentReceivedXML_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccesskeyAccess key that identifies the electronic document.String (45)
EFDocAccessKey_BR
YesEFDocumentReceivedXmlEntity
CNPJNum_BRCNPJ number of the party on the document.String (20)
CNPJNum_BR
NoEFDocumentReceivedXmlEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalDocument_BRPoints to the fiscal document header.Int64
RefRecId
NoFiscalDocument_BR.RecIdEFDocumentReceivedXmlEntity
FiscalDocumentNumberNumber of the fiscal document.String (20)
FiscalDocumentNumber_BR
NoEFDocumentReceivedXmlEntity
FiscalDocumentSeriesSeries of the fiscal document.String (9)
FiscalDocumentSeries_BR
NoEFDocumentReceivedXmlEntity
FiscalEstablishment_BRPoints to the fiscal establishment.Int64
FiscalEstablishmentRecId_BR
YesFiscalEstablishment_BR.RecIdEFDocumentReceivedXmlEntity
IBGECodeIBGE code of the state.String (2)
StateIBGECode_BR
NoEFDocumentReceivedXmlEntity
InquiryStatusStatus returned from the SEFAZ inquiry, such as Approved, Canceled or Denied.Enum
FiscalDocumentStatus_BR (enum)
NoEFDocumentReceivedXmlEntity
LastInquiryDate and time of the latest inquiry.UtcDateTime
EFDocRecXmlLastInquiryDateTime_BR
NoEFDocumentReceivedXmlEntity
ManualEntryYes/No flag showing that the document was entered by hand.Enum
NoYes (enum)
NoEFDocumentReceivedXmlEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedYes/No flag showing whether the document is posted.Enum
NoYes (enum)
NoEFDocumentReceivedXmlEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReturnCodeReturn code from the authority.String
EFDocReturnCode_BR
NoEFDocumentReceivedXmlEntity
ReturnCodeDescriptionText describing the return code.String (60)
Description
NoEFDocumentReceivedXmlEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

Each relation joins EFDocumentReceivedXML_BR to another table on the fields shown.

  • FiscalDocument_BR → FiscalDocument_BR

    Join on FiscalDocument_BR = FiscalDocument_BR.RecId

    Zero or one EFDocumentReceivedXML_BR record → exactly one FiscalDocument_BR record

  • FiscalEstablisment_BR → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Zero or one EFDocumentReceivedXML_BR record → exactly one FiscalEstablishment_BR record

Get this data out

Tables are not exposed directly. These public entities read from EFDocumentReceivedXML_BR; use one of them in Power BI, Power Platform or a data management project.

Need help with EFDocumentReceivedXML_BR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk