Data entity
LegalRepresentativeEntity
Holds legal representatives of a fiscal organization, used for Brazil. Each record is identified by the person's CPF, the root fiscal establishment and the role. It includes the name, a reference, whether the person was validated with the RFB authority, and CRC details (issuer state, number and expiry date). It joins the fiscal organization table to show the root company.
- Entity name
LegalRepresentativeEntity- Public entity name
LegalRepresentative- OData collection
LegalRepresentatives- Category
Not set- Module
GAB- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
CPF, FiscalOrganizationRootFiscalEstablishment, FiscalOrganizationRootFiscalEstablishmentDataArea, Role- Staging table
LegalRepresentativeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LegalRepresentatives- Dataverse virtual table
mserp_legalrepresentativeentity. 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
LegalRepresentative_BR· rootFiscalOrganization_BR· InnerJoin toLegalRepresentative_BR· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
FiscalOrganizationFiscal organization that the representative acts for. | Int64FiscalOrganizationRecId_BR | Yes | No (private) | FiscalOrganization_BR.RecId | LegalRepresentative_BR.FiscalOrganization |
FiscalOrganizationRootFiscalEstablishmentDataAreaCompany (legal entity) of the root fiscal establishment. | StringDataAreaId | Yes | Yes | FiscalOrganization_BR.FiscalEstablishmentDataArea | |
FiscalOrganizationRootFiscalEstablishmentID of the root fiscal establishment of the organization. | StringFBFiscalEstablishmentId_BR | Yes | Yes | FiscalEstablishment_BR.FiscalEstablishmentId | FiscalOrganization_BR.FiscalEstablishmentId |
CPFCPF registration number of the representative. | String (20)CNPJCPFNum_BR | Yes | Yes | LegalRepresentative_BR.CPFNum | |
NameName of the legal representative. | String (160)DirPartyName | Yes | Yes | LegalRepresentative_BR.Name | |
RoleRole of the representative, such as director, administrator or attorney. | Enum
| No | Yes | LegalRepresentative_BR.Type | |
LocationReference to a location record for the representative. | Int64RefRecId | No | Yes | LogisticsLocation.RecId | LegalRepresentative_BR.Location |
ValidatedInRFBAuthorityYes/no flag showing whether the representative is checked with the RFB tax authority. | Enum
| No | Yes | LegalRepresentative_BR.TaxAuthorityValidation | |
CRCStateState that issued the CRC registration. | StringLogisticsAddressStateId | No | Yes | LegalRepresentative_BR.CRCStateId | |
CRCCRC registration number of the representative. | String (20)CRCNum_BR | No | Yes | LegalRepresentative_BR.CRCNum | |
CRCExpirationDateDate when the CRC registration ends. | DateTransDate | No | Yes | LegalRepresentative_BR.CRCExpirationDate |
Foreign keys (3)
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.
FiscalOrganization→FiscalOrganization_BR.RecId(key of FiscalOrganization_BR)Many LegalRepresentative_BR records → exactly one FiscalOrganization_BR record
FiscalOrganization_BR details: see FiscalOrganizationEntity, FiscalOrganizationFiscalAuditorEntity, FiscalOrganizationFiscalEstablishmentEntity
FiscalOrganizationRootFiscalEstablishment→FiscalEstablishment_BR.FiscalEstablishmentId(key of FiscalEstablishment_BR)Join on all of:
FiscalOrganizationRootFiscalEstablishment=FiscalEstablishment_BR.FiscalEstablishmentId,FiscalOrganizationRootFiscalEstablishmentDataArea=FiscalEstablishment_BR.dataAreaIdZero or one FiscalOrganization_BR record → exactly one FiscalEstablishment_BR record
FiscalEstablishment_BR details: see FiscalEstablishmentEntity, FiscalOrganizationFiscalEstablishmentEntity, AssetFixedAssetEntity
Location→LogisticsLocation.RecId(key of LogisticsLocation)Zero or one LegalRepresentative_BR record → exactly one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with LegalRepresentativeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.