Data entity
ElectronicTaxDeclarationLogEntity
Log of electronic tax declarations. Each record is keyed by settlement period value, period year and execution date. It shows whether the declaration was sent, is inactive or was corrected, and whether documents were submitted separately.
- Entity name
ElectronicTaxDeclarationLogEntity- Public entity name
TaxDeclarationLog- OData collection
TaxDeclarationLogs- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasicSalesTax- Keys
PeriodValue, PeriodYear, ExecutionDate- Staging table
ElectronicTaxDeclarationLogStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TaxDeclarationLogs- Dataverse virtual table
mserp_electronictaxdeclarationlogentity. 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
TaxElectronicDeclaration· root
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CorrectedDeclarationShows whether the declaration is a correction. | Enum
| No | Yes | TaxElectronicDeclaration.Correction | |
ExecutionDateDate the declaration was run. | DateDateExecuted | Yes | Yes | TaxElectronicDeclaration.DateExecuted | |
DocumentsSubmittedSeparatelyShows whether documents were submitted separately. | EnumNoYesId
| No | Yes | TaxElectronicDeclaration.DocumentsSubmittedSeparately | |
DateStart date of the declaration period. | DateTaxPeriodDate | Yes | Yes | TaxElectronicDeclaration.FromDate | |
InactiveShows whether the declaration is inactive. | Enum
| No | Yes | TaxElectronicDeclaration.Inactive | |
SentShows whether the declaration has been sent. | Enum
| No | Yes | TaxElectronicDeclaration.Sent | |
ElectronicTaxDocumentThe XML content of the electronic tax document. | String (-1)XML | Yes | Yes | TaxElectronicDeclaration.TaxElectronicDocument | |
SettlementPeriodThe sales tax settlement period of the declaration. | StringTaxPeriod | Yes | Yes | TaxPeriodHead.TaxPeriod | TaxElectronicDeclaration.TaxPeriod |
PeriodValueTwo-character period value. | String (2)TaxPeriodValue | Yes | Yes | TaxElectronicDeclaration.TaxPeriodValue | |
PeriodYearFour-character year of the period. | String (4)TaxPeriodYear | Yes | Yes | TaxElectronicDeclaration.TaxPeriodYear | |
CompanyThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | TaxElectronicDeclaration.DataAreaId |
Foreign keys (1)
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.
SettlementPeriod→TaxPeriodHead.TaxPeriod(key of TaxPeriodHead)Many TaxElectronicDeclaration records → exactly one TaxPeriodHead record
TaxPeriodHead details: see TaxPeriodHeadEntity, TaxPeriodEntity, TaxPeriodHeadCDREntity
Need help with ElectronicTaxDeclarationLogEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.