Data entity

RetailZReportTotalizerTaxTrans_BREntity

Holds tax transaction lines linked to a Z report totalizer, used for Brazil. The key combines the printer serial number, Z report number, totalizer, fiscal value, taxation code and origin, tax type, tax code, tax value and CFOP. It records base amounts (taxable, exempt, other) per tax line.

Entity name
RetailZReportTotalizerTaxTrans_BREntity
Public entity name
ZReportTotalizerTaxTrans_BR
OData collection
ZReportTotalizerTaxTrans_BR
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
FiscalPrinterSerialNumber, ZReportNumber, AdditionalFiscalMemoryIndex, TotalizerName, FiscalValue, TaxationCode, TaxationOrigin, TaxType, TaxCode, TaxValue, CFOP
Staging table
RetailZReportTotalizerTaxTrans_BRStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ZReportTotalizerTaxTrans_BR
Dataverse virtual table
mserp_retailzreporttotalizertaxtrans_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

  • RetailZReportTotalizerTaxTrans_BR · root

Fields (19)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AdditionalFiscalMemoryIndexIndex of the additional fiscal memory of the printer. It links the row to the Z report totalizer.Integer
RetailFiscalMemoryIndex_BR
NoYesRetailZReportTotalizerTaxTrans_BR.AdditionalFiscalMemoryIndex
CFOPCFOP code, a Brazilian fiscal operation code.String (5)
SalesPurchCFOPId_BR
YesYesRetailZReportTotalizerTaxTrans_BR.CFOP
FiscalPrinterSerialNumberSerial number of the fiscal printer. It links the row to the Z report totalizer.String (20)
RetailFiscalPrinterSerialNumber_BR
YesYesRetailZReportTotalizerTaxTrans_BR.FiscalPrinterSerialNumber
FiscalValueFiscal value category, such as with credit or debit, or without credit or debit.Enum
TaxFiscalValue_BR
  • Blank 0
  • WithCreditDebit 1
  • WithoutCreditDebitExempt 2
  • WithoutCreditDebitOther 3
YesYesRetailZReportTotalizerTaxTrans_BR.FiscalValue
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
NoYesRetailZReportTotalizerTaxTrans_BR.Origin
ReplicationCounterFromOriginCounter value used to track replication of the row from its origin.Integer
RetailReplicationCounter
NoYesRetailZReportTotalizerTaxTrans_BR.ReplicationCounterFromOrigin
StoreIdNumber of the store the report belongs to.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailZReportTotalizerTaxTrans_BR.StoreId
TaxAmountTaxable amount of the line. The currency is not stated in the metadata.Real
TaxAmount
NoYesRetailZReportTotalizerTaxTrans_BR.TaxAmount
TaxationCodeTaxation code of the line.String (3)
TaxationCode_BR
YesYesRetailZReportTotalizerTaxTrans_BR.TaxationCode
TaxationOriginOrigin of the goods for taxation, such as national or imported.Enum
FITaxationOrigin_BR
  • National 0
  • DirectImport 1
  • Import 2
  • NationalImportContent 3
  • LegalAdjusts 4
  • NationalLessThan40ImportContent 5
  • ImportNoSimilar 6
  • ImportAcquiredInRegion 7
  • NationalGreaterThan70ImportContent 8
NoYesRetailZReportTotalizerTaxTrans_BR.TaxationOrigin
TaxBaseAmountTax base amount of the line. The currency is not stated in the metadata.Real
TaxBaseCur
NoYesRetailZReportTotalizerTaxTrans_BR.TaxBaseAmount
TaxBaseAmountExemptExempt part of the base amount. The currency is not stated in the metadata.Real
TaxBaseCur
NoYesRetailZReportTotalizerTaxTrans_BR.TaxBaseAmountExempt
TaxBaseAmountOtherOther part of the base amount. The currency is not stated in the metadata.Real
TaxBaseCur
NoYesRetailZReportTotalizerTaxTrans_BR.TaxBaseAmountOther
TaxCodeSales tax code of the line. Points to the sales tax code record.String
TaxCode
YesYesTaxTable.TaxCodeRetailZReportTotalizerTaxTrans_BR.TaxCode
TaxTypeType of Brazilian tax, such as ICMS, IPI, PIS, COFINS or ISS.Enum
TaxType_BR
  • Blank 0
  • IPI 8
  • PIS 1
  • ICMS 2
  • COFINS 3
  • ISS 4
  • IRRF 5
  • INSS 6
  • ImportTax 10
  • OtherTax 11
  • INSSRetained 12
  • CSLL 13
  • ICMSST 14
  • ICMSDiff 15
  • INSSCPRB 16
  • CBS 17
  • IBSCity 18
  • IBSState 19
  • IS 20
YesYesRetailZReportTotalizerTaxTrans_BR.TaxType
TaxValueTax value of the line.Real
TaxValue
NoYesRetailZReportTotalizerTaxTrans_BR.TaxValue
TerminalIdNumber of the POS register the report belongs to.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailZReportTotalizerTaxTrans_BR.TerminalId
TotalizerNameName of the totalizer the line belongs to.String
RetailTotalizerName_BR
YesYesRetailZReportTotalizer_BR.TotalizerNameRetailZReportTotalizerTaxTrans_BR.TotalizerName
ZReportNumberNumber of the Z report the line belongs to.Integer
RetailDocumentNumber_BR
YesYesRetailZReportTotalizerTaxTrans_BR.ZReportNumber

Foreign keys (4)

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)

    One or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • TaxCode → TaxTable.TaxCode (key of TaxTable)

    Many RetailZReportTotalizerTaxTrans_BR records → exactly one TaxTable record

    TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity

  • TerminalId → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    One or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • TotalizerName → RetailZReportTotalizer_BR.TotalizerName (key of RetailZReportTotalizer_BR)

    Join on all of: TotalizerName = RetailZReportTotalizer_BR.TotalizerName, TerminalId = RetailZReportTotalizer_BR.TerminalId, StoreId = RetailZReportTotalizer_BR.StoreId, ZReportNumber = RetailZReportTotalizer_BR.ZReportNumber, AdditionalFiscalMemoryIndex = RetailZReportTotalizer_BR.AdditionalFiscalMemoryIndex, FiscalPrinterSerialNumber = RetailZReportTotalizer_BR.FiscalPrinterSerialNumber

    One or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailZReportTotalizer_BR record

    RetailZReportTotalizer_BR details: see RetailZReportTotalizer_BREntity

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

Email sales@drdynamics.co.uk