Table
RetailZReportTotalizerTaxTrans_BR
Z report totalizer tax transactions
Holds tax detail lines for the totalizers of a Z report, used for Brazil. Each row combines a totalizer with tax type, tax code, taxation code and origin, CFOP and fiscal value. It also holds the base, exempt and other base amounts. It links to the Z report totalizer and to the sales tax code.
- Table name
RetailZReportTotalizerTaxTrans_BR- Module
Commerce- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
ZReportTotalizerTaxTransIdx- Replacement key
ZReportTotalizerTaxTransIdx- Key fields
FiscalPrinterSerialNumber, ZReportNumber, AdditionalFiscalMemoryIndex, TotalizerName, FiscalValue, TaxationCode, TaxationOrigin, TaxType, TaxCode, TaxValue, CFOP- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FiscalPrinterSerialNumberSerial number of the fiscal printer. It links the row to the Z report totalizer. | String (20)RetailFiscalPrinterSerialNumber_BR | Yes | RetailZReportTotalizer_BR.FiscalPrinterSerialNumber | RetailZReportTotalizerTaxTrans_BREntity |
ZReportNumberNumber of the Z report the line belongs to. | IntegerRetailDocumentNumber_BR | Yes | RetailZReportTotalizer_BR.ZReportNumber | RetailZReportTotalizerTaxTrans_BREntity |
AdditionalFiscalMemoryIndexIndex of the additional fiscal memory of the printer. It links the row to the Z report totalizer. | IntegerRetailFiscalMemoryIndex_BR | No | RetailZReportTotalizer_BR.AdditionalFiscalMemoryIndex | RetailZReportTotalizerTaxTrans_BREntity |
TotalizerNameName of the totalizer the line belongs to. | StringRetailTotalizerName_BR | Yes | RetailZReportTotalizer_BR.TotalizerName | RetailZReportTotalizerTaxTrans_BREntity |
FiscalValueFiscal value category, such as with credit or debit, or without credit or debit. | EnumTaxFiscalValue_BR (enum) | Yes | RetailZReportTotalizerTaxTrans_BREntity | |
TaxationCodeTaxation code of the line. | String (3)TaxationCode_BR | Yes | RetailZReportTotalizerTaxTrans_BREntity | |
TaxationOriginOrigin of the goods for taxation, such as national or imported. | EnumFITaxationOrigin_BR (enum) | No | RetailZReportTotalizerTaxTrans_BREntity | |
TaxTypeType of Brazilian tax, such as ICMS, IPI, PIS, COFINS or ISS. | EnumTaxType_BR (enum) | Yes | RetailZReportTotalizerTaxTrans_BREntity | |
TaxCodeSales tax code of the line. Points to the sales tax code record. | StringTaxCode | Yes | TaxTable.TaxCode | RetailZReportTotalizerTaxTrans_BREntity |
TaxValueTax value of the line. | RealTaxValue | No | RetailZReportTotalizerTaxTrans_BREntity | |
CFOPCFOP code, a Brazilian fiscal operation code. | String (5)SalesPurchCFOPId_BR | Yes | RetailZReportTotalizerTaxTrans_BREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
OriginNumber of the location where the record originated. | String (50)RetailConnDistributionLocationId | No | RetailZReportTotalizerTaxTrans_BREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplicationCounterFromOriginCounter value used to track replication of the row from its origin. | IntegerRetailReplicationCounter | No | RetailZReportTotalizerTaxTrans_BREntity | |
StoreIdNumber of the store the report belongs to. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailZReportTotalizerTaxTrans_BREntity |
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 | |
TaxAmountTaxable amount of the line. The currency is not stated in the metadata. | RealTaxAmount | No | RetailZReportTotalizerTaxTrans_BREntity | |
TaxBaseAmountTax base amount of the line. The currency is not stated in the metadata. | RealTaxBaseCur | No | RetailZReportTotalizerTaxTrans_BREntity | |
TaxBaseAmountExemptExempt part of the base amount. The currency is not stated in the metadata. | RealTaxBaseCur | No | RetailZReportTotalizerTaxTrans_BREntity | |
TaxBaseAmountOtherOther part of the base amount. The currency is not stated in the metadata. | RealTaxBaseCur | No | RetailZReportTotalizerTaxTrans_BREntity | |
TerminalIdNumber of the POS register the report belongs to. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailZReportTotalizerTaxTrans_BREntity |
Indexes (2)
LocationIdxReplicationCounterFromOrigin,OriginNot unique.
ZReportTotalizerTaxTransIdxPrimary indexReplacement keyFiscalPrinterSerialNumber,ZReportNumber,AdditionalFiscalMemoryIndex,TotalizerName,FiscalValue,TaxationCode,TaxationOrigin,TaxType,TaxCode,TaxValue,CFOPUnique, alternate key.
Relations (4)
Each relation joins RetailZReportTotalizerTaxTrans_BR to another table on the fields shown.
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberOne or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdOne or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailTerminalTable record
RetailZReportTotalizer_BR→RetailZReportTotalizer_BRJoin on
TerminalId = RetailZReportTotalizer_BR.TerminalId,StoreId = RetailZReportTotalizer_BR.StoreId,TotalizerName = RetailZReportTotalizer_BR.TotalizerName,ZReportNumber = RetailZReportTotalizer_BR.ZReportNumber,AdditionalFiscalMemoryIndex = RetailZReportTotalizer_BR.AdditionalFiscalMemoryIndex,FiscalPrinterSerialNumber = RetailZReportTotalizer_BR.FiscalPrinterSerialNumberOne or more RetailZReportTotalizerTaxTrans_BR records → exactly one RetailZReportTotalizer_BR record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany RetailZReportTotalizerTaxTrans_BR records → exactly one TaxTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailZReportTotalizerTaxTrans_BR; use one of them in Power BI, Power Platform or a data management project.
RetailZReportTotalizerTaxTrans_BREntity· 19 fields from this table
Need help with RetailZReportTotalizerTaxTrans_BR in a report, an integration or a migration? Talk to Dr Dynamics.