Table

TaxReportVoucher

Sales tax payments

Holds sales tax payment records, one per settlement of a tax period. The key is the settlement period, the date and the system record ID. Rows show the period dates, voucher, version, and whether the payment was reversed or corrected. Some fields are used for India (registration number, tax type) and Italy (zero lines, reverse transactions).

Table name
TaxReportVoucher
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
DatePeriodIdx
Replacement key
None
Key fields
TaxPeriod, TransDate, RecId
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPeriodSales tax settlement period for this payment. Links to the sales tax period.String
TaxPeriod
NoTaxPeriodHead.TaxPeriodNone
TransDateDate of the payment record.Date
TransDate
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
CorrectionsYes/No flag showing whether posted sales tax corrections are included.Enum
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateStart date of the settlement period. Matches the period setup record.Date
TaxPeriodDate
NoTaxReportPeriod.FromDateNone
IncludeReverseTrans_ITYes/No option to include reversing documents, used for Italy.Enum
IncludeReverseTrans_IT
NoYes (enum)
NoNone
IncludeZeroLines_ITYes/No option to include documents with zero amounts, used for Italy.Enum
IncludeZeroLines_IT
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReversedYes/No flag showing whether the payment has been reversed.Enum
Reversed
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxRegistrationNumberTable_INRecord ID of the tax registration number, used for India.Int64
RefRecId
NoTaxRegistrationNumbers_IN.RecIdNone
TaxRepCounterVersion counter of the tax payment.Integer
TaxVersion
NoNone
TaxRepVersionKind of payment version: original, corrections, latest corrections or total list.Enum
TaxRepVersion (enum)
NoNone
TaxType_INType of tax, such as VAT, excise, service tax, customs or GST. Used for India.Enum
TaxType_IN (enum)
NoNone
ToDateEnd date of the settlement period. Matches the period setup record.Date
TaxPeriodDate
NoTaxReportPeriod.ToDateNone
TraceNumTrace number of the payment.String (20)
TraceNum
NoNone
VoucherVoucher number of the payment.String (20)
Voucher
NoNone

Indexes (3)

Relations (3)

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

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many TaxReportVoucher records → zero or one TaxPeriodHead record

  • TaxRegistrationNumberTable_IN → TaxRegistrationNumbers_IN

    Join on TaxRegistrationNumberTable_IN = TaxRegistrationNumbers_IN.RecId

    Many TaxReportVoucher records → exactly one TaxRegistrationNumbers_IN record

  • TaxReportPeriod → TaxReportPeriod

    Join on ToDate = TaxReportPeriod.ToDate, FromDate = TaxReportPeriod.FromDate, TaxPeriod = TaxReportPeriod.TaxPeriod

    Many TaxReportVoucher records → zero or one TaxReportPeriod record

Get this data out

No public entity reads from TaxReportVoucher. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk