Data entity
FiscalEstablishmentIEPerStateEntity
Tax substitution registrations of a fiscal establishment by state, used for Brazil. It is keyed by fiscal establishment ID and state. It stores the state registration number (IE) and the country or region.
- Entity name
FiscalEstablishmentIEPerStateEntity- Public entity name
FiscalEstablishmentIEPerState- OData collection
FiscalEstablishmentIEPerStates- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
FiscalEstablishmentId, State- Staging table
FiscalEstablishmentIEPerStateStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/FiscalEstablishmentIEPerStates- Dataverse virtual table
mserp_fiscalestablishmentieperstateentity. 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
FiscalEstablishmentIEPerState_BR· rootFiscalEstablishment_BR· InnerJoin toFiscalEstablishmentIEPerState_BR· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CountryRegionIdCountry or region the registration applies to. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | FiscalEstablishmentIEPerState_BR.CountryRegionId |
FiscalEstablishmentPoints to the fiscal establishment that owns this registration. | Int64RefRecId | Yes | No (private) | FiscalEstablishment_BR.RecId | FiscalEstablishmentIEPerState_BR.FiscalEstablishment_BR |
IEState registration number (IE) for the given state. | String (20)IENum_BR | Yes | Yes | FiscalEstablishmentIEPerState_BR.IENum_BR | |
StateState the registration number applies to. | StringLogisticsAddressStateId | Yes | Yes | LogisticsAddressState.StateId | FiscalEstablishmentIEPerState_BR.StateId |
FiscalEstablishmentIdUnique ID of the fiscal establishment. It is the business key of the table. | StringFiscalEstablishmentId_BR | Yes | Yes | FiscalEstablishment_BR.FiscalEstablishmentId |
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.
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many FiscalEstablishmentIEPerState_BR records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
FiscalEstablishment→FiscalEstablishment_BR.RecId(key of FiscalEstablishment_BR)Many FiscalEstablishmentIEPerState_BR records → exactly one FiscalEstablishment_BR record
FiscalEstablishment_BR details: see FiscalEstablishmentEntity, EFDocTechResponsibleInformationEntity, FiscalOrganizationFiscalEstablishmentEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryRegionId=LogisticsAddressState.CountryRegionIdMany FiscalEstablishmentIEPerState_BR records → exactly one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with FiscalEstablishmentIEPerStateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.