Data entity

TaxesMatrixEntity

Holds the taxes matrix used for Brazil. Each record links a fiscal establishment group and a CFOP group to a type, an account relation and an item relation. It also refers to a sales tax group and an item sales tax group.

Entity name
TaxesMatrixEntity
Public entity name
TaxesMatrix
OData collection
TaxesMatrices
Category
Not set
Module
Tax
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
FiscalEstablishmentGroupId, CFOPGroupId, Type, AccountRelation, ItemRelation
Staging table
TaxesMatrixStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/TaxesMatrices
Dataverse virtual table
mserp_taxesmatrixentity. 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

  • TaxesMatrix_BR · root
  • CFOPGroup (table CFOPGroup_BR) · OuterJoin to TaxesMatrix_BR · read-only
  • FiscalEstablishmentGroup_BR · InnerJoin to TaxesMatrix_BR · read-only
  • TaxItemGroupHeading · OuterJoin to TaxesMatrix_BR · read-only

Fields (13)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountCodeShows whether the account relation is a single account, a group or all accounts.Enum
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoYesTaxesMatrix_BR.AccountCode
AccountRelationThe customer, customer group or fiscal establishment group that the row applies to.String (20)
InventCustVendRel
NoYesCustGroup.CustGroupCustTable.AccountNumFiscalEstablishmentGroup_BR.FiscalEstablishmentGroupIdFiscalEstablishment_BR.FiscalEstablishmentIdVendGroup.VendGroupVendTable.AccountNumTaxesMatrix_BR.AccountRelation
CFOPGroupRecIdPoints to the CFOP group that the row applies to.Int64
RefRecId
NoNo (private)CFOPGroup_BR.RecIdTaxesMatrix_BR.CFOPGroup_BR
TypeSays whether the row is for customers, vendors or fiscal establishments.Enum
CustVendType_BR
  • Customer 0
  • Vendor 1
  • FiscalEstablishment 2
NoYesTaxesMatrix_BR.CustVendType
FiscalEstablishmentGroupRecIdPoints to the fiscal establishment group that the row applies to.Int64
FiscalEstablishmentGroupRecId_BR
YesNo (private)FiscalEstablishmentGroup_BR.RecIdTaxesMatrix_BR.FiscalEstablishmentGroup_BR
IsUsedForFreeTextInvoiceYes/no flag for free text invoices.Enum
FreeTextInvoice_BR
NoYes

Platform enum: values not in the metadata extract.

NoYesTaxesMatrix_BR.FreeTextInvoice
ItemCodeShows whether the item relation is a single item, an item group or all items.Enum
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoYesTaxesMatrix_BR.ItemCode
ItemRelationThe item or item group that the row applies to.String (20)
InventItemRelation
NoYesInventItemGroup.ItemGroupIdInventTable.ItemIdTaxesMatrix_BR.ItemRelation
IsUsedForServiceItemsYes/no flag for service items.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTaxesMatrix_BR.ServiceItems
SalesTaxGroupThe sales tax group linked to this matrix row.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupTaxesMatrix_BR.TaxGroup
ItemSalesTaxGroupThe item sales tax group linked to this matrix row.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupTaxesMatrix_BR.TaxItemGroup
CFOPGroupIdCode of the CFOP group.String
CFOPGroupId_BR
NoYesCFOPGroup_BR.CFOPGroup
FiscalEstablishmentGroupIdUnique ID of the fiscal establishment group.String
FiscalEstablishmentGroupId_BR
YesYesFiscalEstablishmentGroup_BR.FiscalEstablishmentGroupId

Foreign keys (12)

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.

Need help with TaxesMatrixEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk