Data entity
TaxCodeEntity
Holds sales tax codes, keyed by tax code. Each record has many settings, including percentage, calculation method, currency, ledger posting group and the ledger accounts for different transaction types. It also joins Brazilian taxation codes and Mexican tax category codes.
- Entity name
TaxCodeEntity- Public entity name
TaxCode- OData collection
TaxCodes- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasicSalesTax- Keys
TaxCode- Staging table
TaxCodeEntityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TaxCodes- Dataverse virtual table
mserp_taxcodeentity. 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
TaxTable· rootTaxationCodeTable_BR· OuterJoin toTaxTable· read-onlyTaxVatReportCategory_MX· OuterJoin toTaxTable· read-only
Fields (72)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TaxCodeUnique code that identifies the sales tax. | StringTaxCode | Yes | Yes | TaxTable.TaxCode | |
NegativeTaxYes/No flag for a negative tax percentage. | EnumTaxNegativeTax
| No | Yes | TaxTable.NegativeTax | |
NotEUSalesListYes/No flag to exclude the code, apparently from the EU sales list.low confidence | Enum
| No | Yes | TaxTable.NotEUSalesList | |
PaymentTaxCodeIdAnother sales tax code that applies at payment time. | StringTaxCode | No | Yes | TaxTable.TaxCode | TaxTable.PaymentTaxCode |
PrintCodeCode printed for this tax. | StringTaxWriteCode | No | Yes | TaxTable.PrintCode | |
ReportingCodeTaxablePurchasesReporting code for taxable purchases. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseIncoming | |
ReportingCodeTaxablePurchasesCreditNoteReporting code for taxable purchase credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseIncomingCreditNote | |
ReportingCodeTaxableSalesReporting code for taxable sales. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseOutgoing | |
ReportingCodeTaxableSalesCreditNoteReporting code for taxable sales credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseOutgoingCreditNote | |
ReportingCodeTaxableImportReporting code for taxable imports. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseUseTax | |
ReportingCodeTaxableImportCreditNoteReporting code for taxable import credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseUseTaxCreditNote | |
ReportingCodeTaxableImportOffsetReporting code for the offset of taxable imports. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseUseTaxOffset | |
ReportingCodeTaxableImportOffsetCreditNoteReporting code for the offset of taxable import credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseUseTaxOffsetCreditNote | |
ReportingCodeTaxFreePurchaseReporting code for tax-free purchases. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeBuy | |
ReportingCodeTaxFreePurchaseCreditNoteReporting code for tax-exempt purchase credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeBuyCreditNote | |
ReportingCodeTaxFreeSaleReporting code for tax-free sales. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeSales | |
ReportingCodeTaxFreeSaleCreditNoteReporting code for tax-exempt sales credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeSalesCreditNote | |
ReportingCodeSalesTaxReceivableReporting code for sales tax receivable. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxIncoming | |
ReportingCodeSalesTaxReceivableCreditNoteReporting code for sales tax on purchase credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxIncomingCreditNote | |
ReportingCodeSalesTaxPayableReporting code for sales tax payable. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxOutgoing | |
ReportingCodeSalesTaxPayableCreditNoteReporting code for sales tax on sales credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxOutgoingCreditNote | |
ReportingCodeUseTaxReporting code for use tax. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldUseTax | |
ReportingCodeUseTaxCreditNoteReporting code for sales tax on import credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldUseTaxCreditNote | |
ReportingCodeUseTaxOffsetReporting code for the offset of use tax. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldUseTaxOffset | |
ReportingCodeUseTaxOffsetCreditNoteReporting code for the offset of sales tax on import credit notes. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldUseTaxOffsetCreditNote | |
TaxPostingGroupIdLedger posting group linked to this tax code. | StringTaxAccountGroup | No | Yes | TaxLedgerAccountGroup.TaxAccountGroup | TaxTable.TaxAccountGroup |
TaxBaseHow the tax amount is based, such as percentage of net amount, gross amount or amount per unit. | Enum
| No | Yes | TaxTable.TaxBase | |
TaxCalculationMethodCalculation method: whole amount or interval. | Enum
| No | Yes | TaxTable.TaxCalcMethod | |
TaxCountryRegionTypeType of country or region, such as domestic, EU, EFTA or third country. | Enum
| No | Yes | TaxTable.TaxCountryRegionType | |
TaxCurrencyCodeIdCurrency of the tax code. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | TaxTable.TaxCurrencyCode |
CalculateUnitTaxBeforeSalesTaxYes/No flag to calculate this tax before sales tax. | EnumTaxIncludeInTax
| No | Yes | TaxTable.TaxIncludeInTax | |
TaxLimitBaseBasis for the marginal limit, such as net or gross amount per line or unit. | Enum
| No | Yes | TaxTable.TaxLimitBase | |
TaxNameName of the sales tax code. | String (30)TaxName | No | Yes | TaxTable.TaxName | |
TaxOnTaxSales tax code whose amount forms part of the base of this code. | StringTaxCode | No | Yes | TaxTable.TaxCode | TaxTable.TaxOnTax |
PackingDutySortCodeSort code for packaging duty. | StringTaxPackagingSort | No | Yes | TaxTable.TaxPackagingSort | |
PackingDutyYes/No flag for packing duty. | EnumTaxPackagingTax
| No | Yes | TaxTable.TaxPackagingTax | |
TaxPeriodIdSettlement period in which this tax is reported. | StringTaxPeriod | No | Yes | TaxPeriodHead.TaxPeriod | TaxTable.TaxPeriod |
TaxRoundOffRounding value applied to the tax. | RealTaxRoundOff | No | Yes | TaxTable.TaxRoundOff | |
TaxRoundOffTypeRounding form: normal, downward or upward. | EnumTaxRoundOffType
| No | Yes | TaxTable.TaxRoundOffType | |
TaxUnitIdUnit of measure on which the tax is calculated. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | TaxTable.TaxUnit |
PrintCodeTypeChooses what is printed: the print code or the tax rate. | Enum
| No | Yes | TaxTable.TaxWriteSelection | |
ReportLayoutThe report layout chosen for the sales tax code. It is an enum value.low confidence | Enum
| No | Yes | virtual | |
IncludedTaxYes/No flag for an included tax, used for Brazil. | Enum
| No | Yes | TaxTable.IncludedTax_BR | |
RetainedTaxYes/No flag for retained tax or tax to recuperate, used for Brazil. | Enum
| No | Yes | TaxTable.RetainedTax_BR | |
TaxationCodeThree-character taxation code. | String (3)TaxationCode_BR | No | Yes | TaxationCodeTable_BR.TaxationCode | |
TaxationCodeRecIdPoints to the taxation code record, used for Brazil. | Int64RefRecId | No | No (private) | TaxationCodeTable_BR.RecId | TaxTable.TaxationCodeTable_BR |
FiscalValueFiscal value of the code, such as with credit/debit or without credit/debit. | Enum
| No | Yes | TaxationCodeTable_BR.FiscalValue | |
TaxSubstitutionMethodTax substitution method, such as markup or simplified estimate, used for Brazil. | EnumTaxSubstitution_BR
| No | Yes | TaxTable.TaxSubstitution_BR | |
BrazilTaxTypeKind of tax (IPI, PIS, ICMS, COFINS, ISS and others), used for Brazil. | Enum
| No | Yes | TaxTable.TaxType_BR | |
DiotAddInfoYes/No flag for extra information in the DIOT declaration, used for Mexico. | EnumDiotAddInfo_MX
| No | Yes | TaxTable.DiotAddInfo_MX | |
MexicoTaxTypeTax type (ISR, IVA or IEPS), used for Mexico. | Enum
| No | Yes | TaxTable.TaxType_MX | |
TaxVatReportCategoryRecIdPoints to the tax category code for reporting, used for Mexico. | Int64RefRecId | No | No (private) | TaxVatReportCategory_MX.RecId | TaxTable.TaxVatReportCategory_MX |
TaxVatReportCategoryCodeCode of the tax report category. | String (5)TaxVatReportCategoryCode_MX | No | Yes | TaxVatReportCategory_MX.CategoryCode | |
UnrealizedTaxYes/No flag for unrealized tax. | EnumNoYesId
| No | Yes | TaxTable.UnrealizedTax | |
SingaporeTaxTypeVAT type (standard, zero or exempt), used for Singapore. | Enum
| No | Yes | TaxTable.TaxType_SG | |
ReportingCodeBaseIncomingDebitNoteReporting code for taxable purchase debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseIncomingDebitNote_MY | |
ReportingCodeBaseOutgoingDebitNoteReporting code for taxable sales debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldBaseOutgoingDebitNote_MY | |
ReportingCodeTaxFreeBuyDebitNoteReporting code for tax-exempt purchase debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeBuyDebitNote_MY | |
ReportingCodeTaxFreeSalesDebitNoteReporting code for tax-exempt sales debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxFreeSalesDebitNote_MY | |
ReportingCodeTaxIncomingDebitNoteReporting code for sales tax on purchase debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxIncomingDebitNote_MY | |
ReportingCodeTaxOutgoingDebitNoteReporting code for sales tax on sales debit notes, used for Malaysia. | IntegerTaxReportField | No | Yes | TaxTable.RepFieldTaxOutgoingDebitNote_MY | |
IsGSTYes/No flag marking the code as GST, used for Malaysia. | Enum
| No | Yes | TaxTable.IsGST_MY | |
TypeOfTaxGeneral tax type, such as standard VAT, excise, reduced VAT or customs duty. | Enum
| No | Yes | TaxTable.TaxType_W | |
TaxTypeTax type (normal, average unrealized or average realized), used for Thailand. | Enum
| No | Yes | TaxTable.TaxType_TH | |
DomesticCustomsPracticeYes/No flag for domestic customs practice, used for Finland. | EnumCustomsPractice_FI
| No | Yes | TaxTable.CustomsPractice_FI | |
ExcludeFromInvoiceYes/No flag to leave this tax out of the invoice. | EnumTaxExcludeFromInvoice
| No | Yes | TaxTable.ExcludeFromInvoice | |
TaxSubstitutionCalculationMethodCalculation method for the substitution base reduction, used for Brazil. | Enum
| No | Yes | TaxTable.TaxSubstitutionBaseRedCalcMode_BR | |
RevenueCodeReceita code for the tax, used for Brazil. | String (20)RevenueCode_BR | No | Yes | TaxTable.RevenueCode_BR | |
VATChargeSourceWhether VAT is charged from vendor funds or own funds, used for Russia. | Enum
| No | Yes | TaxTable.VATChargeSource_RU | |
JapanTaxTypeTax type (standard, reduced or other), used for Japan. | Enum
| No | Yes | TaxTable.TaxType_JP | |
IsInvestmentYes/No flag to classify the code as an investment, used for Spain. | EnumIsInvestment_ES
| No | Yes | TaxTable.IsInvestment_ES | |
DescriptionQRBillDescription text for QR bill, used for Switzerland. | String (60)Description | No | Yes | TaxTable.DescriptionQRBill_CH |
Foreign keys (8)
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.
PaymentTaxCodeId→TaxTable.TaxCode(key of TaxTable)Many TaxTable records → zero or one TaxTable record
TaxTable details: see BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity, DiotDeclarationConceptEntity
TaxPostingGroupId→TaxLedgerAccountGroup.TaxAccountGroup(key of TaxLedgerAccountGroup)Many TaxTable records → exactly one TaxLedgerAccountGroup record
TaxLedgerAccountGroup details: see TaxPostingGroupEntityV2, TaxPostingGroupEntity, RTax25LedgerAccountGroupEntity
TaxCurrencyCodeId→Currency.CurrencyCode(key of Currency)Many TaxTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
TaxOnTax→TaxTable.TaxCode(key of TaxTable)Many TaxTable records → zero or one TaxTable record
TaxTable details: see BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity, DiotDeclarationConceptEntity
TaxPeriodId→TaxPeriodHead.TaxPeriod(key of TaxPeriodHead)Many TaxTable records → exactly one TaxPeriodHead record
TaxPeriodHead details: see TaxPeriodHeadEntity, TaxPeriodEntity, TaxPeriodHeadCDREntity
TaxUnitId→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many TaxTable records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
TaxationCodeRecId→TaxationCodeTable_BR.RecId(key of TaxationCodeTable_BR)Zero or one TaxTable record → exactly one TaxationCodeTable_BR record
TaxationCodeTable_BR details: see TaxationCodeEntity, TaxAllowedExemptCodesForIPIEntity, TaxGroupDataEntity
TaxVatReportCategoryRecId→TaxVatReportCategory_MX.RecId(key of TaxVatReportCategory_MX)Many TaxTable records → zero or one TaxVatReportCategory_MX record
TaxVatReportCategory_MX details: see TaxVatReportCategoryEntity
Need help with TaxCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.