Data entity
EFDocumentReceivedXmlEntity
Holds NF-e XML documents received from other parties, used for Brazil. Each record is identified by the access key. It includes the issuer details, status from the tax authority, tax and total amounts, and a link to the fiscal establishment.
- Entity name
EFDocumentReceivedXmlEntity- Public entity name
EFDocumentReceivedXml- OData collection
EFDocumentReceivedXmls- Category
Not set- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
Accesskey- Staging table
EFDocumentReceivedXmlStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EFDocumentReceivedXmls- Dataverse virtual table
mserp_efdocumentreceivedxmlentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
EFDocumentReceivedXML_BR· rootFiscalEstablisment_BR(tableFiscalEstablishment_BR) · InnerJoin toEFDocumentReceivedXML_BR· read-onlyEFDocumentReceivedXmlView_BR· InnerJoin toEFDocumentReceivedXML_BREFDocumentReceivedXmlViewAddInfo_BR· InnerJoin toEFDocumentReceivedXmlView_BREFDocumentReceivedXmlViewAddress_BR· InnerJoin toEFDocumentReceivedXmlView_BR
Fields (44)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccesskeyAccess key that identifies the electronic document. | String (45)EFDocAccessKey_BR | Yes | Yes | EFDocumentReceivedXML_BR.Accesskey | |
CNPJCNPJ number of the party on the document. | String (20)CNPJNum_BR | No | Yes | EFDocumentReceivedXML_BR.CNPJNum_BR | |
FiscalDocumentReferencePoints to the fiscal document header. | Int64RefRecId | No | No (private) | FiscalDocument_BR.RecId | EFDocumentReceivedXML_BR.FiscalDocument_BR |
NumberNumber of the fiscal document. | String (20)FiscalDocumentNumber_BR | No | Yes | EFDocumentReceivedXML_BR.FiscalDocumentNumber | |
SeriesSeries of the fiscal document. | String (9)FiscalDocumentSeries_BR | No | Yes | EFDocumentReceivedXML_BR.FiscalDocumentSeries | |
FiscalEstablishmentReferencePoints to the fiscal establishment. | Int64FiscalEstablishmentRecId_BR | Yes | No (private) | FiscalEstablishment_BR.RecId | EFDocumentReceivedXML_BR.FiscalEstablishment_BR |
IBGECodeIBGE code of the state. | String (2)StateIBGECode_BR | No | Yes | EFDocumentReceivedXML_BR.IBGECode | |
StatusFromSEFAZStatus returned from the SEFAZ inquiry, such as Approved, Canceled or Denied. | Enum
| No | Yes | EFDocumentReceivedXML_BR.InquiryStatus | |
DateAndTimeOfTheLastInquiryDate and time of the latest inquiry. | UtcDateTimeEFDocRecXmlLastInquiryDateTime_BR | No | Yes | EFDocumentReceivedXML_BR.LastInquiry | |
ManualInsertionYes/No flag showing that the document was entered by hand. | Enum
| No | Yes | EFDocumentReceivedXML_BR.ManualEntry | |
PostedYes/No flag showing whether the document is posted. | Enum
| No | Yes | EFDocumentReceivedXML_BR.Posted | |
ReturnCodeReturn code from the authority. | StringEFDocReturnCode_BR | No | Yes | EFDocumentReceivedXML_BR.ReturnCode | |
DescriptionText describing the return code. | String (60)Description | No | Yes | EFDocumentReceivedXML_BR.ReturnCodeDescription | |
FiscalEstablishmentIdUnique ID of the fiscal establishment. It is the business key of the table. | StringFiscalEstablishmentId_BR | Yes | Yes | FiscalEstablishment_BR.FiscalEstablishmentId | |
ICMSAmountICMS tax amount. | RealTaxAmount | No | Yes | EFDocumentReceivedXmlView_BR.ICMSAmount | |
ICMSBaseAmountBase amount for ICMS. | RealTaxBase | No | Yes | EFDocumentReceivedXmlView_BR.ICMSBaseAmount | |
ICMSSTAmountICMS-ST tax amount. | RealTaxAmount | No | Yes | EFDocumentReceivedXmlView_BR.ICMSSTAmount | |
ICMSSTBaseAmountBase amount for ICMS-ST. | RealTaxBase | No | Yes | EFDocumentReceivedXmlView_BR.ICMSSTBaseAmount | |
IPIAmountIPI tax amount. | RealTaxAmount | No | Yes | EFDocumentReceivedXmlView_BR.IPIAmount | |
IssueDateDate on which the document was issued. | DateEFDocRecXmlIssueDate_BR | No | Yes | EFDocumentReceivedXmlView_BR.IssueDate | |
IssueTimeTime of day when the document was issued. | TimeEFDocRecXmlIssueTime_BR | No | Yes | EFDocumentReceivedXmlView_BR.IssueTime | |
IssueTimezoneTime zone of the issue time. | String (6)EFDocRecXmlIssueTimezone_BR | No | Yes | EFDocumentReceivedXmlView_BR.IssueTimezone | |
ThirdPartyCNPJCNPJ of the third party. | String (20)CNPJNum_BR | No | Yes | EFDocumentReceivedXmlView_BR.ThirdPartyCNPJ | |
ThirdPartyIEState registration number (IE) of the third party. | String (20)IENum_BR | No | Yes | EFDocumentReceivedXmlView_BR.ThirdPartyIE | |
ThirdPartyIESTTributary substitution registration number of the third party. | String (20)IENum_BR | No | Yes | EFDocumentReceivedXmlView_BR.ThirdPartyIEST | |
ThirdPartyNameName of the vendor. | String (60)EFDocRecXmlThirdPartyName_BR | No | Yes | EFDocumentReceivedXmlView_BR.ThirdPartyName | |
TotalAmountTotal amount of the document (in accounting currency). | RealAmountMST | No | Yes | EFDocumentReceivedXmlView_BR.TotalAmount | |
TotalDiscountTotal discount on the document (in accounting currency). | RealDiscAmountMST | No | Yes | EFDocumentReceivedXmlView_BR.TotalDiscount | |
TotalMarkupFreightAmountFreight charge total. | RealMarkupSumFreight_BR | No | Yes | EFDocumentReceivedXmlView_BR.TotalMarkupFreightAmount | |
TotalMarkupInsuranceAmountInsurance charge total. | RealMarkupSumInsurance_BR | No | Yes | EFDocumentReceivedXmlView_BR.TotalMarkupInsuranceAmount | |
TotalMarkupOtherAmountTotal of other charges. | RealMarkupSumOthers_BR | No | Yes | EFDocumentReceivedXmlView_BR.TotalMarkupOtherAmount | |
TotalProductAmountTotal amount of the products (in accounting currency). | RealAmountMST | No | Yes | EFDocumentReceivedXmlView_BR.TotalProductAmount | |
ComplementaryInformationFree text meant for the taxpayer. | String (-1)EFDocRecXmlCompInf_BR | No | Yes | EFDocumentReceivedXmlViewAddInfo_BR.ComplementaryInformation | |
AdditionalInformationFree text meant for the tax authority. | String (-1)EFDocRecXmlAddInf_BR | No | Yes | EFDocumentReceivedXmlViewAddInfo_BR.AdditionalInformation | |
BuildingComplementExtra address detail, such as a building or unit. | String (60)LogisticsAddressBuildingCompliment | No | Yes | EFDocumentReceivedXmlViewAddress_BR.BuildingComplement | |
CityIbgeCodeIBGE code of the city. | String (7)CityIBGECode_BR | No | Yes | EFDocumentReceivedXmlViewAddress_BR.CityIbgeCode | |
CityNameName of the city. | String (60)LogisticsAddressCityName | No | Yes | EFDocumentReceivedXmlViewAddress_BR.CityName | |
DistrictNameName of the district. | String (60)LogisticsAddressDistrictName | No | Yes | EFDocumentReceivedXmlViewAddress_BR.DistrictName | |
StateIdState code. | StringLogisticsAddressStateId | No | Yes | EFDocumentReceivedXmlViewAddress_BR.StateId | |
StreetNameStreet name. | String (60)StreetName | No | Yes | EFDocumentReceivedXmlViewAddress_BR.StreetName | |
StreetNumberStreet number. | String (60)EFDocRecXmlAddressNumber_BR | No | Yes | EFDocumentReceivedXmlViewAddress_BR.StreetNumber | |
ZipCodeZIP or postal code. | String (8)EFDocRecXmlZipCode_BR | Yes | Yes | EFDocumentReceivedXmlViewAddress_BR.ZipCode | |
EFDocumentReceivedXmlViewRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | EFDocumentReceivedXmlView_BR.RecId | |
BusinessDocumentIdUnique ID of the electronic document. | GuidSysGuid | No | Yes | EFDocumentReceivedXmlView_BR.BusinessDocumentId |
Foreign keys (2)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
FiscalDocumentReference→FiscalDocument_BR.RecId(key of FiscalDocument_BR)Zero or one EFDocumentReceivedXML_BR record → exactly one FiscalDocument_BR record
Not exposed by a public entity.
FiscalEstablishmentReference→FiscalEstablishment_BR.RecId(key of FiscalEstablishment_BR)Zero or one EFDocumentReceivedXML_BR record → exactly one FiscalEstablishment_BR record
FiscalEstablishment_BR details: see FiscalEstablishmentEntity, EFDocTechResponsibleInformationEntity, FiscalOrganizationFiscalEstablishmentEntity
Need help with EFDocumentReceivedXmlEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.