Data entity
RetailFiscalDocumentModel2TaxTrans_BREntity
Tax transactions for model 2 fiscal document lines, used for Brazil. Each record shows the tax type, sales tax code, taxation code and origin, fiscal value and sales tax amount. It is identified by store, terminal, transaction, line number and tax type.
- Entity name
RetailFiscalDocumentModel2TaxTrans_BREntity- Public entity name
FiscalDocumentModel2TaxTrans_BR- OData collection
FiscalDocumentModel2TaxTrans_BR- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
StoreId, TerminalId, TransactionId, LineNum, TaxType- Staging table
RetailFiscalDocumentModel2TaxTrans_BRStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/FiscalDocumentModel2TaxTrans_BR- Dataverse virtual table
mserp_retailfiscaldocumentmodel2taxtrans_brentity. 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
RetailFiscalDocumentModel2TaxTrans_BR· root
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
FiscalValueFiscal value, which shows if the tax gives credit or debit, or is exempt or other. | Enum
| No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.FiscalValue | |
LineNumLine number within the transaction. | RealLineNum | Yes | Yes | RetailFiscalDocumentModel2TaxTrans_BR.LineNum | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.Origin | |
ReplicationCounterFromOriginCounter used when data is replicated from its origin. | IntegerRetailReplicationCounter | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.ReplicationCounterFromOrigin | |
StoreIdStore number. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailFiscalDocumentModel2TaxTrans_BR.StoreId |
TaxAmountSales tax amount. | RealTaxAmount | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxAmount | |
TaxationCodeThree-character taxation code. | String (3)TaxationCode_BR | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxationCode | |
TaxationOriginTaxation origin of the goods, such as national or imported. | Enum
| No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxationOrigin | |
TaxBaseAmountBase amount for the tax. | RealTaxBaseCur | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxBaseAmount | |
TaxCodePoints to the sales tax code. | StringTaxCode | No | Yes | TaxTable.TaxCode | RetailFiscalDocumentModel2TaxTrans_BR.TaxCode |
TaxReductionPctTax reduction value. Its label is Value.low confidence | RealTaxValue | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxReductionPct | |
TaxTypeKind of tax, such as IPI, PIS, ICMS or COFINS. | Enum
| Yes | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxType | |
TaxValueTax rate or value. | RealTaxValue | No | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TaxValue | |
TerminalIdRegister (POS) number. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailFiscalDocumentModel2TaxTrans_BR.TerminalId |
TransactionIdRetail transaction number. | String (44)RetailTransactionId | Yes | Yes | RetailFiscalDocumentModel2TaxTrans_BR.TransactionId |
Foreign keys (3)
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.
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailFiscalDocumentModel2TaxTrans_BR records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TaxCode→TaxTable.TaxCode(key of TaxTable)Many RetailFiscalDocumentModel2TaxTrans_BR records → exactly one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailFiscalDocumentModel2TaxTrans_BR records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailFiscalDocumentModel2TaxTrans_BREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.