Table
TaxElectronicDeclaration
Electronic tax declaration log
Log of electronic tax declarations. Each row links to a sales tax settlement period and stores the XML document, the execution date and status flags such as sent, inactive and corrected.
- Table name
TaxElectronicDeclaration- Module
Tax- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CorrectionShows whether the declaration is a correction. | EnumNoYes (enum) | No | ElectronicTaxDeclarationLogEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ElectronicTaxDeclarationLogEntity | |
DateExecutedDate the declaration was run. | DateDateExecuted | Yes | ElectronicTaxDeclarationLogEntity | |
DocumentsSubmittedSeparatelyShows whether documents were submitted separately. | EnumNoYesIdNoYes (enum) | No | ElectronicTaxDeclarationLogEntity | |
FromDateStart date of the declaration period. | DateTaxPeriodDate | Yes | ElectronicTaxDeclarationLogEntity | |
InactiveShows whether the declaration is inactive. | EnumNoYes (enum) | No | ElectronicTaxDeclarationLogEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SentShows whether the declaration has been sent. | EnumNoYes (enum) | No | ElectronicTaxDeclarationLogEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxElectronicDocumentThe XML content of the electronic tax document. | String (-1)XML | Yes | ElectronicTaxDeclarationLogEntity | |
TaxPeriodThe sales tax settlement period of the declaration. | StringTaxPeriod | Yes | TaxPeriodHead.TaxPeriod | ElectronicTaxDeclarationLogEntity |
TaxPeriodValueTwo-character period value. | String (2)TaxPeriodValue | Yes | ElectronicTaxDeclarationLogEntity | |
TaxPeriodYearFour-character year of the period. | String (4)TaxPeriodYear | Yes | ElectronicTaxDeclarationLogEntity |
Indexes (1)
PeriodYearDateIdxTaxPeriodYear,TaxPeriodValue,DateExecutedNot unique.
Relations (1)
Each relation joins TaxElectronicDeclaration to another table on the fields shown.
TaxPeriodHead→TaxPeriodHeadJoin on
TaxPeriod = TaxPeriodHead.TaxPeriodMany TaxElectronicDeclaration records → exactly one TaxPeriodHead record
Get this data out
Tables are not exposed directly. These public entities read from TaxElectronicDeclaration; use one of them in Power BI, Power Platform or a data management project.
ElectronicTaxDeclarationLogEntity· 11 fields from this table
Need help with TaxElectronicDeclaration in a report, an integration or a migration? Talk to Dr Dynamics.