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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrectionShows whether the declaration is a correction.Enum
NoYes (enum)
NoElectronicTaxDeclarationLogEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoElectronicTaxDeclarationLogEntity
DateExecutedDate the declaration was run.Date
DateExecuted
YesElectronicTaxDeclarationLogEntity
DocumentsSubmittedSeparatelyShows whether documents were submitted separately.Enum
NoYesId
NoYes (enum)
NoElectronicTaxDeclarationLogEntity
FromDateStart date of the declaration period.Date
TaxPeriodDate
YesElectronicTaxDeclarationLogEntity
InactiveShows whether the declaration is inactive.Enum
NoYes (enum)
NoElectronicTaxDeclarationLogEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SentShows whether the declaration has been sent.Enum
NoYes (enum)
NoElectronicTaxDeclarationLogEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxElectronicDocumentThe XML content of the electronic tax document.String (-1)
XML
YesElectronicTaxDeclarationLogEntity
TaxPeriodThe sales tax settlement period of the declaration.String
TaxPeriod
YesTaxPeriodHead.TaxPeriodElectronicTaxDeclarationLogEntity
TaxPeriodValueTwo-character period value.String (2)
TaxPeriodValue
YesElectronicTaxDeclarationLogEntity
TaxPeriodYearFour-character year of the period.String (4)
TaxPeriodYear
YesElectronicTaxDeclarationLogEntity

Indexes (1)

Relations (1)

Each relation joins TaxElectronicDeclaration to another table on the fields shown.

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many 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.

Need help with TaxElectronicDeclaration in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk