Data entity

RetailZReport_BREntity

Holds Z reports for fiscal printers, used for Brazil. Each record is identified by the fiscal printer serial number, restart operation number, fiscal memory index, store, register and Z report number. It stores daily totals such as gross sales, net amount, PIS, COFINS and ISS discount, plus the first and last document numbers. It also shows whether the statement has been posted.

Entity name
RetailZReport_BREntity
Public entity name
ZReport_BR
OData collection
ZReport_BR
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
FiscalPrinterSerialNumber, RestartOperationNumber, AdditionalFiscalMemoryIndex, StoreId, TerminalId, ZReportNumber
Staging table
RetailZReport_BRStaging

Use it in Power BI and Power Platform

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

  • RetailZReport_BR · root

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingDateAccounting date of the Z report.Date
TransDate
NoYesRetailZReport_BR.AccountingDate
AdditionalFiscalMemoryIndexIndex of the additional fiscal memory of the fiscal printer.Integer
RetailFiscalMemoryIndex_BR
NoYesRetailZReport_BR.AdditionalFiscalMemoryIndex
COFINSAmountAmount of COFINS tax in the report. The currency is not stated in the metadata.Real
TaxAmount
NoYesRetailZReport_BR.COFINSAmount
FinalGrandTotalAmountGrand total at the end of the report period, in accounting currency.Real
AmountMST
NoYesRetailZReport_BR.FinalGrandTotalAmount
FirstReceiptNumberNumber of the first fiscal document covered by the report.Integer
RetailDocumentNumber_BR
NoYesRetailZReport_BR.FirstReceiptNumber
FiscalEstablishmentFiscal establishment the report belongs to. Points to the fiscal establishment record.String
FiscalEstablishmentId_BR
NoYesFiscalEstablishment_BR.FiscalEstablishmentIdRetailZReport_BR.FiscalEstablishment
FiscalPrinterSerialNumberSerial number of the fiscal printer that issued the report.String (20)
RetailFiscalPrinterSerialNumber_BR
YesYesRetailZReport_BR.FiscalPrinterSerialNumber
FiscalReceiptModelModel code of the fiscal document.String (3)
FiscalDocumentModel_BR
NoYesRetailZReport_BR.FiscalReceiptModel
GrossDailySaleGross sales amount for the day, in accounting currency.Real
AmountMST
NoYesRetailZReport_BR.GrossDailySale
InitialGrandTotalAmountGrand total at the start of the report period, in accounting currency.Real
AmountMST
NoYesRetailZReport_BR.InitialGrandTotalAmount
ISSDiscountYes or no flag related to ISS. The meaning is not stated in the metadata.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailZReport_BR.ISSDiscount
LastReceiptNumberNumber of the last fiscal document covered by the report.Integer
RetailDocumentNumber_BR
NoYesRetailZReport_BR.LastReceiptNumber
NetAmountNet amount of the report, in accounting currency.Real
AmountMST
NoYesRetailZReport_BR.NetAmount
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
NoYesRetailZReport_BR.Origin
PISAmountAmount of PIS tax in the report. The currency is not stated in the metadata.Real
TaxAmount
NoYesRetailZReport_BR.PISAmount
ReplicationCounterFromOriginCounter value used to track replication of the row from its origin.Integer
RetailReplicationCounter
NoYesRetailZReport_BR.ReplicationCounterFromOrigin
RestartOperationNumberCounter of restart operations on the fiscal printer.Integer
RetailDocumentNumber_BR
YesYesRetailZReport_BR.RestartOperationNumber
StoreIdNumber of the store the report belongs to.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailZReport_BR.StoreId
TerminalIdNumber of the POS register the report belongs to.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailZReport_BR.TerminalId
TerminalNumberNumber of the fiscal printer.Integer
RetailTerminalNumber_BR
NoYesRetailZReport_BR.TerminalNumber
VersionVersion of the Z report: unknown, version 1 or version 2.Enum
RetailZReportVersion_BR
  • Unknown 0
  • v1 1
  • v2 2
NoYesRetailZReport_BR.Version
ZReportDateTimeDate and time when the Z report was issued.UtcDateTime
TransDateTime
NoYesRetailZReport_BR.ZReportDateTime
ZReportNumberNumber of the Z report.Integer
RetailDocumentNumber_BR
YesYesRetailZReport_BR.ZReportNumber
IsStatementPostedYes or no flag showing whether a statement has been posted for the report.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailZReport_BR.IsStatementPosted
TransactionIdNumber of the retail transaction linked to the report.String (44)
RetailTransactionId
NoYesRetailZReport_BR.TransactionId
VoucherVoucher number linked to the report.String (20)
Voucher
NoYesRetailZReport_BR.Voucher

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.

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

Email sales@drdynamics.co.uk