Table
TaxTrans
Posted sales tax
Stores posted sales tax transactions. Each record holds the tax code, base and tax amounts in several currencies, direction, period and a link to the source document. It also links to ledger journals, invoices, tax books and registration numbers. Several country-specific fields are included.
- Table name
TaxTrans- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (85)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | TaxTransBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | TaxTransBiEntityTaxTransCDREntityTaxTransCDREntity | |
CurrencyCodeCurrency of the tax. | String (3)CurrencyCode | No | Currency.CurrencyCode | TaxTransBiEntityTaxTransCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
EmptyTaxBaseForOutgoingTax_WYes/No flag for an empty tax base on outgoing tax. | EnumNoYesIdNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
EUROTriangulationYes/No flag for EU triangulation. | EnumEUROTriangulationNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
ExchRateDiffOrigRecIdPoints to the original tax transaction for a bank exchange rate difference. | Int64RefRecId | No | TaxTransBiEntityTaxTransCDREntity | |
ExemptCodeExempt code applied to the tax. | StringTaxExemptCode | No | TaxExemptCodeTable.ExemptCode | TaxTransBiEntityTaxTransCDREntity |
ExemptTaxYes/No flag showing the tax is exempt. | EnumTaxExemptTaxNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
GSTHSTTaxType_CAGST/HST tax type, used for Canada. | EnumGSTHSTTaxType_CA (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
HeadingTableIdID of the header table linked to this tax record. | IntegerRefTableId | No | TaxTransBiEntityTaxTransCDREntity | |
IntracomVATYes/No flag for intra-community VAT. | EnumTaxIntracomVATNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
InventTransIdLot ID linking to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | TaxTransBiEntityTaxTransCDREntity |
InvoiceIdInvoice number. | String (50)InvoiceId | No | TaxTransBiEntityTaxTransCDREntity | |
IsOverUnderPaymentYes/No flag for overpayment or underpayment. | EnumNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
ISVFeatureSetupGuidGUID of an integration feature setup. | GuidSysGuid | No | TaxTransBiEntityTaxTransCDREntity | |
ISVFeatureSetupNameName of the integration feature setup. | String (100)TaxIntegrationFeatureSetupName | No | TaxTransBiEntityTaxTransCDREntity | |
JournalNumLedger journal batch number. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | TaxTransBiEntityTaxTransCDREntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | TaxTransBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | TaxTransBiEntityTaxTransCDREntity | |
NoPostingSourceRegulateAmountCurActual sales tax amount for records that are not posted; currency not stated in the metadata.low confidence | RealNoPostingSourceRegulateAmountCur | No | TaxTransBiEntity | |
NoPostingTaxAmountTax amount that is not posted, in the accounting currency. | RealNoPostingTaxAmount | No | TaxTransBiEntity | |
NoPostingTaxAmountCurTax amount that is not posted, in the tax currency. | RealNoPostingTaxAmountCur | No | TaxTransBiEntity | |
NoPostingTaxAmountRepTax amount that is not posted, in the reporting currency. | RealNoPostingTaxAmountRep | No | TaxTransBiEntity | |
OriginTaxTransRecIdPoints to the original tax transaction. | Int64RefRecId | No | TaxTransBiEntityTaxTransCDREntity | |
PackedExtensionsPacked container holding extension data. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyTaxIdPoints to the tax registration of the counterparty. | Int64RefRecId | No | TaxRegistration.RecId | TaxTransBiEntityTaxTransCDREntity |
PostponeVATYes/No flag for postponed VAT. | EnumCzPostponeVATNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
PrintCodePrint code of the tax. | StringTaxWriteCode | No | TaxTransBiEntityTaxTransCDREntity | |
RealizedDateDate the tax was realised. | DateTransDate | No | TaxTransBiEntityTaxTransCDREntity | |
ReasonReason code linked to the record. | StringReasonCode | No | ReasonTable.Reason | TaxTransBiEntityTaxTransCDREntity |
ReasonCommentFree-text comment on the reason. | String (60)ReasonComment | No | TaxTransBiEntityTaxTransCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | TaxTransBiEntity | |
ReverseCharge_WYes/No flag for reverse charge. | EnumTaxReverseChargeNoYes (enum) | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
ReverseChargeApplies_UKYes/No flag showing reverse charge applies, used for United Kingdom. | EnumNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
SkipLedgerPostingYes/No flag that stops ledger entries being posted for this tax record. | EnumSkipLedgerPostingNoYes (enum) | No | TaxTransBiEntity | |
SourceType of source module, such as sales order, purchase order or voucher. | EnumTaxModuleTypeIdTaxModuleType (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
SourceBaseAmountCurBase amount in the transaction currency. | RealTaxBaseCur | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
SourceBaseAmountCurRegulatedAdjusted base amount in the transaction currency. | RealTaxBaseCur | No | TaxTransBiEntityTaxTransCDREntity | |
SourceCurrencyCodeCurrency of the source voucher. | String (3)CurrencyCode | No | Currency.CurrencyCode | TaxTransBiEntityTaxTransCDREntity |
SourceDocumentLinePoints to the source document line. | Int64RefRecId | No | SourceDocumentLine.RecId | TaxTransBiEntityTaxTransCDREntity |
SourceRecIdSystem record ID of the source transaction line. | Int64RefRecId | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
SourceRegulateAmountCurCorrected tax amount in the transaction currency. | RealTaxRegulationAmountCur | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
SourceTableIdID of the table holding the source transaction line. | IntegerRefTableId | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
SourceTaxAmountCurTax amount in the transaction currency. | RealTaxAmountCur | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
statementIdRetail statement number linked to the record. | String (20)RetailStatementId | No | RetailStatementTable.statementId | TaxTransBiEntityTaxTransCDREntity |
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 | |
TaxAccountTypeTax posting type, such as recoverable, payable, expense or deferred. | EnumTaxAccountingPostingAccountType (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxAmountTax amount in the accounting currency. | RealTaxAmount | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
TaxAmountCurTax amount in the tax currency. | RealTaxAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxAmountRepTax amount in the reporting currency. | RealTaxAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxAutogeneratedYes/No flag showing the tax was generated automatically. | EnumTaxAutoGeneratedNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxBaseAmountBase amount in the accounting currency. | RealTaxBase | No | TaxTransBiEntityTaxTransCDREntity | |
TaxBaseAmountCurBase amount in the tax currency. | RealTaxBaseCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxBaseAmountRepBase amount in the reporting currency. | RealTaxBaseCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxBaseQtyQuantity used as the tax base. | RealTaxQty | No | TaxTransBiEntityTaxTransCDREntity | |
TaxBookPoints to the tax book. | Int64TaxBookRecId | No | TaxBook.RecId | TaxTransBiEntityTaxTransCDREntity |
TaxBookSectionPoints to the tax book section. | Int64TaxBookSectionRecId | No | TaxBookSection.RecId | TaxTransBiEntityTaxTransCDREntity |
TaxCodeSales tax code of the transaction. | StringTaxCode | Yes | TaxTable.TaxCode | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity |
TaxDirectionDirection of the tax, such as receivable, payable, use tax or tax-free. | EnumTaxDirection (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxGroupSales tax group. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity |
TaxIDPoints to the tax registration number. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | TaxTransBiEntityTaxTransCDREntity |
TaxInCostPriceNon-deductible tax amount in the transaction currency. | RealTaxAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxInCostPriceCurNon-deductible tax amount in the tax currency. | RealTaxAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxInCostPriceMSTNon-deductible tax amount in the accounting currency. | RealTaxAmount | No | TaxTransBiEntityTaxTransCDREntity | |
TaxInCostPriceRegulatedAdjusted non-deductible tax amount. | RealTaxRegulationAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxInCostPriceRepNon-deductible tax amount in the reporting currency. | RealTaxAmountCur | No | TaxTransBiEntityTaxTransCDREntity | |
TaxItemGroupItem sales tax group. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | TaxTransBiEntityTaxTransCDREntity |
TaxJurisdictionCodeSales tax jurisdiction code. | StringTaxJurisdictionCode | No | TaxJurisdiction.TaxJurisdictionCode | TaxTransBiEntityTaxTransCDREntity |
TaxObligationCompanyWhether the tax obligation sits with the destination or source company in intercompany posting. | EnumTaxObligationCompany (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxOriginOrigin of the tax record, such as sales tax, payment, cash discount or transfer. | EnumTaxOrigin (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxPeriodTax settlement period. | StringTaxPeriod | No | TaxPeriodHead.TaxPeriod | TaxTransBiEntityTaxTransCDREntity |
TaxPrintDetailLevel of detail printed: tax codes, tax groups or none. | EnumTaxPrintDetail (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxRepCounterVersion number used in tax settlement to tell settled records from unsettled ones. | IntegerTaxVersion | No | TaxTransBiEntityTaxTransCDREntity | |
TaxTransRefRecIdPoints to another posted tax record, used to link split records in partial payments of unrealized VAT. | Int64RefRecId | No | TaxTrans.RecId | TaxTransBiEntityTaxTransCDREntity |
TaxType_MXTax type (ISR, IVA or IEPS), used for Mexico. | EnumTaxType_MX (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
TaxValueTax rate or value. | RealTaxValue | No | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
TransDateTransaction date. | DateTransDate | Yes | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity | |
UnrealizedTaxYes/No flag for unrealized tax. | EnumNoYesIdNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
UnrealizedTaxExtYes/No flag for an extended unrealized tax state.low confidence | EnumNoYesIdNoYes (enum) | No | TaxTransBiEntityTaxTransCDREntity | |
VATExemptPctNon-deductible percentage copied from the sales tax code. | RealTaxValue | No | TaxTransBiEntityTaxTransCDREntity | |
VoucherVoucher number of the transaction. | String (20)Voucher | Yes | BusinessDocumentTaxTransactionEntityTaxTransBiEntityTaxTransCDREntity |
Indexes (11)
VoucherDateIdxVoucher,TransDate,TaxOrigin,TaxCode,TaxDirectionNot unique.
TaxPeriodIdxTransDate,TaxPeriod,TaxRepCounterNot unique.
InventTransIdIdxInventTransId,SourceTaxAmountCurNot unique.
TaxBookSectionIdxNot unique.
TaxBookIdxNot unique.
SourceDocumentLineIdxSourceDocumentLine,IntracomVAT,ReverseCharge_W,TaxAmount,TaxDirection,HeadingTableId,Partition,dataAreaIdNot unique.
SourceTableIdSourceRecIdVoucherIdxSourceTableId,SourceRecId,VoucherNot unique.
SourceRecIdSourceTableIdDataAreaIdxSourceTableId,SourceRecId,DataAreaId,TaxOriginNot unique.
TaxOrignTaxCodeTransDateIdxTaxOrigin,TaxCode,TransDate,IntracomVAT,TaxAmount,TaxBaseAmount,TaxDirection,TaxInCostPriceMSTNot unique.
TaxSourceRecIdTableIdPartitionDataAreaIdxSourceRecId,SourceTableId,Partition,DataAreaIdNot unique.
OriginTaxTransRecIdNot unique.
Relations (40)
Each relation joins TaxTrans to another table on the fields shown.
Currency_CurrencyCode→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TaxTrans records → zero or one Currency record
Currency_SourceCurrencyCode→CurrencyJoin on
SourceCurrencyCode = Currency.CurrencyCodeMany TaxTrans records → zero or one Currency record
CustAdvanceInvoiceTable→CzCustAdvanceInvoiceTableJoin on
Voucher = CzCustAdvanceInvoiceTable.Voucher,TransDate = CzCustAdvanceInvoiceTable.InvoiceDateMany TaxTrans records → zero or one CzCustAdvanceInvoiceTable record
CustInvoiceJour→CustInvoiceJourJoin on
TransDate = CustInvoiceJour.InvoiceDate,Voucher = CustInvoiceJour.LedgerVoucherCardinality not set in the metadata.
CustOverdueVATJournalTable_W→CustOverdueVATJournalTable_WJoin on
TransDate = CustOverdueVATJournalTable_W.TransDate,Voucher = CustOverdueVATJournalTable_W.LedgerVoucherMany TaxTrans records → exactly one CustOverdueVATJournalTable_W record
CustTrans→CustTransJoin on
TransDate = CustTrans.TransDate,Voucher = CustTrans.VoucherCardinality not set in the metadata.
FiscalDocument_BR→FiscalDocument_BRJoin on
TransDate = FiscalDocument_BR.AccountingDate,Voucher = FiscalDocument_BR.VoucherMany TaxTrans records → zero or one FiscalDocument_BR record
GeneralJournalEntry→GeneralJournalEntryJoin on
TransDate = GeneralJournalEntry.AccountingDateMany TaxTrans records → zero or one GeneralJournalEntry record
InventQualityOrderTable_IN→InventQualityOrderTableJoin on
SourceTableId = InventQualityOrderTable.TableId,SourceRecId = InventQualityOrderTable.RecIdMany TaxTrans records → zero or one InventQualityOrderTable record
InventTransferJour_BR→InventTransferJourJoin on
TransDate = InventTransferJour.TransDate,Voucher = InventTransferJour.VoucherIdMany TaxTrans records → zero or one InventTransferJour record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany TaxTrans records → zero or one InventTransOrigin record
LedgerJournalTable→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumMany TaxTrans records → zero or one LedgerJournalTable record
LedgerJournalTrans→LedgerJournalTransJoin on
SourceTableId = LedgerJournalTrans.TableId,SourceRecId = LedgerJournalTrans.RecIdMany TaxTrans records → zero or one LedgerJournalTrans record
ProjInvoiceJour→ProjInvoiceJourJoin on
Voucher = ProjInvoiceJour.LedgerVoucher,TransDate = ProjInvoiceJour.InvoiceDateCardinality not set in the metadata.
PurchComplInvoice_BR→PurchComplementaryInvoiceHeaderJoin on
Voucher = PurchComplementaryInvoiceHeader.LedgerVoucher,TransDate = PurchComplementaryInvoiceHeader.TransDateMany TaxTrans records → zero or one PurchComplementaryInvoiceHeader record
PurchLine→PurchLineJoin on
SourceTableId = PurchLine.TableId,SourceRecId = PurchLine.RecIdMany TaxTrans records → zero or one PurchLine record
RetailStatementTable→RetailStatementTableJoin on
statementId = RetailStatementTable.statementIdMany TaxTrans records → zero or one RetailStatementTable record
SalesComplInvoice_BR→SalesComplementaryInvoiceHeaderJoin on
Voucher = SalesComplementaryInvoiceHeader.LedgerVoucher,TransDate = SalesComplementaryInvoiceHeader.DocumentDateMany TaxTrans records → zero or one SalesComplementaryInvoiceHeader record
SalesLine→SalesLineJoin on
SourceRecId = SalesLine.RecId,SourceTableId = SalesLine.TableIdMany TaxTrans records → zero or one SalesLine record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany TaxTrans records → zero or one SourceDocumentLine record
SubledgerVoucherGeneralJournalEntry→SubledgerVoucherGeneralJournalEntryJoin on
dataAreaId = SubledgerVoucherGeneralJournalEntry.VoucherDataAreaId,Voucher = SubledgerVoucherGeneralJournalEntry.VoucherMany TaxTrans records → zero or one SubledgerVoucherGeneralJournalEntry record
TaxBook→TaxBookJoin on
TaxBook = TaxBook.RecIdMany TaxTrans records → zero or one TaxBook record
TaxBookSection→TaxBookSectionJoin on
TaxBookSection = TaxBookSection.RecIdMany TaxTrans records → zero or one TaxBookSection record
TaxExemptCodeTable→TaxExemptCodeTableJoin on
ExemptCode = TaxExemptCodeTable.ExemptCodeMany TaxTrans records → zero or one TaxExemptCodeTable record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany TaxTrans records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany TaxTrans records → zero or one TaxItemGroupHeading record
TaxJurisdiction→TaxJurisdictionJoin on
TaxJurisdictionCode = TaxJurisdiction.TaxJurisdictionCodeMany TaxTrans records → zero or one TaxJurisdiction record
TaxPeriodHead→TaxPeriodHeadJoin on
TaxPeriod = TaxPeriodHead.TaxPeriodMany TaxTrans records → zero or one TaxPeriodHead record
TaxReportAdjustmentTrans→TaxReportAdjustmentTransJoin on
TaxRepCounter = TaxReportAdjustmentTrans.TaxVersion,TaxPeriod = TaxReportAdjustmentTrans.TaxPeriodCardinality not set in the metadata.
TaxReportPeriod→TaxReportPeriodJoin on
TaxPeriod = TaxReportPeriod.TaxPeriodCardinality not set in the metadata.
TaxReportVoucher→TaxReportVoucherJoin on
TaxRepCounter = TaxReportVoucher.TaxRepCounter,TaxPeriod = TaxReportVoucher.TaxPeriodCardinality not set in the metadata.
TaxServiceTariff→TaxServiceTariffJoin on
RecId = TaxServiceTariff.ParentRecId,TableId = TaxServiceTariff.ParentTableIdZero or one TaxTrans record → zero or one TaxServiceTariff record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany TaxTrans records → exactly one TaxTable record
TaxTrans→TaxTransJoin on
TaxTransRefRecId = TaxTrans.RecIdMany TaxTrans records → zero or one TaxTrans record
VendInvoiceJour→VendInvoiceJourJoin on
TransDate = VendInvoiceJour.InvoiceDate,Voucher = VendInvoiceJour.LedgerVoucherCardinality not set in the metadata.
VendOverdueVATJournalTable_W→VendOverdueVATJournalTable_WJoin on
TransDate = VendOverdueVATJournalTable_W.TransDate,Voucher = VendOverdueVATJournalTable_W.LedgerVoucherMany TaxTrans records → exactly one VendOverdueVATJournalTable_W record
VendTrans→VendTransJoin on
TransDate = VendTrans.TransDate,Voucher = VendTrans.VoucherCardinality not set in the metadata.
TaxRegistration→TaxRegistrationJoin on
TaxID = TaxRegistration.RecIdMany TaxTrans records → zero or one TaxRegistration record
PartyTaxRegistration→TaxRegistrationJoin on
PartyTaxId = TaxRegistration.RecIdMany TaxTrans records → zero or one TaxRegistration record
ReasonTable→ReasonTableJoin on
Reason = ReasonTable.ReasonMany TaxTrans records → zero or one ReasonTable record
Get this data out
Tables are not exposed directly. These public entities read from TaxTrans; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentTaxTransactionEntity· 14 fields from this tableTaxTransBiEntity· 81 fields from this tableTaxTransCDREntity· 74 fields from this table
Need help with TaxTrans in a report, an integration or a migration? Talk to Dr Dynamics.