Skip to main content

Reports

Create and design X-Pos report templates in SQL Account. When a terminal synchronizes, the latest templates are automatically sent to X-Pos as part of its metadata.

Preview Report Templates​

The print sections in SQL Account let you preview how each report will appear in X-Pos Terminal.

Enter sample values into the available datasets to create a mock transaction, then preview the report. These values are used only to test the report layout and do not create actual transactions.

After confirming the report design, synchronize the terminal metadata to send the latest template to X-Pos.

Preview Values Are Not Calculated Automatically

The report preview is intended only for visualizing the report layout. Discounts, taxes, totals, rounding, and other values are displayed exactly as entered.

Some information is retrieved automatically when you select an item, UOM, payment method, user, or location. Other calculations occur only when a formula or calculation has been configured in the report designer.

tip

Use sample values that represent real scenarios, such as long item descriptions, multiple payments, discounts, taxes, and large amounts. This helps identify layout issues before the template is used at the terminal.

Use this section to preview a completed sales receipt. Enter sample values into the Main, Document_Detail, and Payment datasets to simulate a completed sale.

How to Print Sales Receipt​

  1. From the main menu, go to POS → Print Sales Receipt.

    Print Sales Receipt

  2. Select a Location. The default location code is ----.

    Print Sales Receipt Location

  3. Enter sample transaction information in the Main tab.

    Print Sales Receipt Main

  4. Add one or more item lines in the DocDetail tab.

    Print Sales Receipt Document Detail

  5. Add one or more payment records in the Payment tab.

    Print Sales Receipt Payment

  6. Click Apply to preview how the receipt will appear in X-Pos Terminal.

    Print Sales Receipt Apply

Available Datasets​

DatasetDescription
MainContains one record with the receipt header, transaction totals, and status information.
Document_DetailContains one or more item-line records. It is displayed as DocDetail in the preview window.
PaymentContains one or more payment records.

The report can use selected location code to retrieve information configured in Maintain Location.

Main​

FieldDescription
DocNoSales document number.
DocDateTimeDate and time of the transaction.
DocTypeSales document type.
CashierCashier or user who processed the transaction. The current user is selected by default.
CustIDCustomer identifier assigned to the transaction.
PromoterPromoter assigned to the transaction.
CounterNoCounter number from which the transaction was processed.
PriceTagPrice tag used to retrieve item prices and discounts in Document_Detail.
DocAmtFinal document amount entered for the preview.
DiscOverall bill-discount value or expression.
DiscAmtTotal bill-discount amount entered for the preview.
TaxAmtTotal tax amount entered for the preview.
RoundingRounding adjustment entered for the preview.
TenderAmount tendered by the customer.
VoidAtDate and time at which the transaction was voided.
VoidByUser who voided the transaction.
VoidDescDescription or remark recorded for the voided transaction.
RemarkGeneral transaction remark.
ReasonReason recorded for the transaction or related action.
RefDocReference document number.
EIVRequestLinkE-Invoice request value used to preview a link or QR code. Checked to generate a sample value.
note

The generated EIVRequestLink is for previewing the report layout only. It does not create an actual E-Invoice request.

Document_Detail​

FieldDescription
ItemCodeStock-item code. Selecting an item retrieves its item information and default pricing.
ItemDescItem description retrieved from the selected stock item.
UOMUnit of measurement. The default sales UOM is selected automatically.
UOMRateConversion rate for the selected UOM. The default value is 1.
UnitPriceSelling price retrieved using the selected item, UOM, quantity, and price tag.
BatchNoBatch number assigned to the item.
SerialNumberSerial number assigned to the item.
GroupStock group retrieved from the selected item.
Remark2Additional description retrieved from Description 2 of the selected item.
QtyItem quantity. The default value is 1.
DiscItem-discount value or expression. An applicable price discount may be retrieved automatically.
DiscAmtItem-discount amount entered for the preview.
TaxIdTax code applied to the item line.
TaxRateTax rate entered for the item line.
TaxAmtTax amount entered for the item line.
TaxInclusiveIndicates whether tax is included in the item price. It is cleared by default.
DiscountedPriceItem price after discount, entered for the preview.
FinalPriceFinal item price entered for the preview.
Automatic Item Information

Selecting an ItemCode retrieves the ItemDesc, Remark2, Group, UOM, UOMRate, UnitPrice, and Disc.

Changing the UOM refreshes its rate and selling price.

Payment​

FieldDescription
PMCodePayment-method code. Selecting a payment method retrieves its description.
PMDescPayment-method description retrieved from the selected PMCode.
DateTimeDate and time at which the payment was recorded.
AmountPayment amount in the selected payment currency.
ReceivedAmountAmount received from the customer.
KnockOffPayment amount applied against the sales document.
RateCurrency exchange rate used for the payment.
RefNoPayment reference number.

Use this section to preview a hold-bill receipt. Enter sample values into the Main and Document_Detail datasets to simulate a held transaction.

A hold bill has not been completed, so it does not contain a Payment dataset.

How to Print Sales Hold Bill​

  1. From the main menu, go to POS → Print Sales Hold Bill.

    Print Sales Hold Bill

  2. Select a Location. The default location code is ----.

    Print Sales Hold Bill Location

  3. Enter sample transaction information in the Main tab.

    Print Sales Hold Bill Main

  4. Add one or more item lines in the DocDetail tab.

    Print Sales Hold Bill Document Detail

  5. Click Apply to preview how the hold-bill receipt will appear in X-Pos Terminal.

    Print Sales Hold Bill Apply

Available Datasets​

DatasetDescription
MainContains one record with the hold-bill header, totals, and status information.
Document_DetailContains one or more item-line records. It is displayed as DocDetail in the preview window.

The report can use selected location code to retrieve information configured in Maintain Location.

Main​

FieldDescription
DocNoHold-bill document number.
DocDateTimeDate and time at which the bill was placed on hold.
DocTypeDocument type.
CashierCashier or user who created the hold bill. The current user is selected by default.
CustIDCustomer identifier assigned to the hold bill.
PromoterPromoter assigned to the hold bill.
CounterNoCounter number from which the hold bill was created.
PriceTagPrice tag used to retrieve item prices and discounts in Document_Detail.
DocAmtCurrent document amount entered for the preview.
DiscOverall bill-discount value or expression.
DiscAmtTotal bill-discount amount entered for the preview.
TaxAmtTotal tax amount entered for the preview.
RoundingRounding adjustment entered for the preview.
TenderTender amount entered for the preview.
VoidAtDate and time at which the document was voided, if applicable.
VoidByUser who voided the document, if applicable.
VoidDescDescription or remark recorded for the voided document.
RemarkGeneral hold-bill remark.
ReasonReason recorded for the document or related action.
RefDocReference document number.
EIVRequestLinkSample E-Invoice request value used by the report template.
RequestLinkIndicates whether the report should display the E-Invoice request link or QR code.

Document_Detail​

FieldDescription
ItemCodeStock-item code. Selecting an item retrieves its item information and default pricing.
ItemDescItem description retrieved from the selected stock item.
UOMUnit of measurement. The default sales UOM is selected automatically.
UOMRateConversion rate for the selected UOM. The default value is 1.
UnitPriceSelling price retrieved using the selected item, UOM, quantity, and price tag.
BatchNoBatch number assigned to the item.
SerialNumberSerial number assigned to the item.
GroupStock group retrieved from the selected item.
Remark2Additional description retrieved from Description 2 of the selected item.
QtyItem quantity. The default value is 1.
DiscItem-discount value or expression. An applicable price discount may be retrieved automatically.
DiscAmtItem-discount amount entered for the preview.
TaxIdTax code applied to the item line.
TaxRateTax rate entered for the item line.
TaxAmtTax amount entered for the item line.
TaxInclusiveIndicates whether tax is included in the item price. It is cleared by default.
DiscountedPriceItem price after discount, entered for the preview.
FinalPriceFinal item price entered for the preview.
Automatic Item Information

Selecting an ItemCode retrieves the ItemDesc, Remark2, Group, UOM, UOMRate, UnitPrice, and Disc.

Changing the UOM refreshes its rate and selling price.

Use this section to preview stock-item barcode labels. Add sample records to the Main dataset to check the barcode content and label layout.

How to Print Stock Item Barcode​

  1. From the main menu, go to POS → Print Stock Item Barcode.

    Print Stock Item Barcode

  2. Add one or more rows to the item grid.

    Print Stock Item Barcode Add

  3. Select a stock item under Code.

    Print Stock Item Barcode Select Item

  4. Confirm the automatically retrieved item information and default UOM.

  5. Change the UOM if a barcode for another UOM is required.

  6. Enter an ExpiryDate, if applicable.

  7. Enter the number of labels under PrintQty. The default value is 1.

  8. Click Apply to preview how the barcode labels will appear in X-Pos Terminal.

    Print Stock Item Barcode Apply

Manual Entry

Instead of selecting an existing stock item, you can manually enter the Barcode, Name, Expiry Date, Ref Price and Print Qty directly into the grid. This is useful for previewing a label before the item exists in the system, or for a one-off label that doesn't need a stock record.

Available Datasets​

DatasetDescription
MainContains one or more stock-item barcode records.

Main​

FieldDescription
BarcodeBarcode retrieved for the selected item and UOM.
CodeStock-item code. Selecting an item retrieves its descriptions, remarks, default UOM, UOM rate, reference price, and barcode.
NameItem name retrieved from the item's main description.
Description2Second item description.
Description3Third or extended item description.
Remark1First item remark.
Remark2Second item remark.
UOMUnit of measurement represented by the barcode. The default sales UOM is selected automatically.
RateConversion rate for the selected UOM.
RefPriceReference selling price for the selected UOM.
ExpiryDateExpiry date to display on the barcode label.
PrintQtyNumber of labels to print. The default value is 1.
Automatic Barcode Information

Selecting a stock item retrieves the Name, Description2, Description3, Remark1, Remark2, UOM, Rate, RefPrice, and Barcode

Changing the UOM refreshes Rate, RefPrice, and Barcode. If more than one barcode exists for the selected item and UOM, the first available barcode is used.

Use this section to preview a cash-in or cash-out receipt. Enter sample values into the CashFlow dataset to simulate a cash movement.

How to Print Cash In / Cash Out​

  1. From the main menu, go to POS → Print Cash In / Cash Out.

    Print Cash Flow

  2. Select a Location. The default location code is ----.

    Print Cash Flow Location

  3. Select or enter the user under Cashier.

    Print Cash Flow Cashier

  4. Enter the counter number.

  5. Set the cash-flow Type, such as CI for Cash In or CO for Cash Out.

  6. Enter a description and amount.

  7. Click Apply to preview how the cash-in or cash-out receipt will appear in X-Pos Terminal.

    Print Cash Flow Apply

Available Datasets​

DatasetDescription
CashFlowContains one record with the cash-movement details.

The report can use selected location code to retrieve information configured in Maintain Location.

CashFlow​

FieldDescription
CodeUser or operator code associated with the cash movement. A user lookup is available for this field.
CounterNoCounter number associated with the cash movement.
DocDateTimeDate and time at which the cash movement was recorded.
TypeCash-flow type code, such as CI for Cash In or CO for Cash Out.
DescriptionDescription or reason for the cash movement.
AmountAmount added to or removed from the counter.

Use this section to preview counter-management reports. Select a report type, then enter sample values into the available datasets to simulate an open or closed counter session.

How to Print a Counter Management Report​

  1. From the main menu, go to POS → Print Counter Management Report.

    Print Counter Management Report

  2. Select a Report Type:

    • Open Counter
    • Close Counter by ID
    • Close Counter by Date

    Print Counter Management Report Type

  3. Select a Location. The default location code is ----.

    Print Counter Management Report Location

  4. Enter sample values into the datasets displayed for the selected report type.

  5. Add or update payment records where applicable.

  6. Click Apply to preview how the counter-management report will appear in X-Pos Terminal.

    Print Counter Management Report Apply

Report Types​

Report TypeAvailable DatasetsDescription
Open CounterCtrLogPreviews the opening details of one counter session.
Close Counter by IDCtrLog, CtrPayment, DefaultCashDetail, SummaryPreviews the closing details of one counter session.
Close Counter by DateCtrLog, CtrPayment, DefaultCashDetail, SummaryPreviews a counter-closing summary for a date range.

The report can use selected location code to retrieve information configured in Maintain Location.

Open Counter Datasets​

CtrLog​

Print Counter Management Report Counter Log

FieldDescription
CounterNoCounter number.
DocDateCounter-session date.
TerminalCodeCode of the terminal used to open the counter.
OpenByUser who opened the counter. A user lookup is available for this field.
OpenAtDate and time at which the counter was opened.
OpenBalOpening cash balance.
NoteNote recorded when the counter was opened.

Close Counter by ID Datasets​

CtrLog​

Print Counter Management Report - by ID Counter Log

FieldDescription
AutokeyInternal identifier of the counter session.
CounterNoCounter number.
DocDateCounter-session date.
TerminalCodeCode of the terminal used for the counter session.
OpenByUser who opened the counter. A user lookup is available for this field.
OpenAtDate and time at which the counter was opened.
OpenBalOpening cash balance.
NoteNote recorded for the counter session.
CloseByUser who closed the counter. A user lookup is available for this field.
CloseAtDate and time at which the counter was closed.
CashInOutNet cash-in and cash-out amount for the counter session.
CashBalCash balance for the counter session.
VoidAmtTotal value of voided transactions.
TaxAmtTotal tax amount.
DiscAmtTotal discount amount.
SalesReturnAmtTotal sales-return amount.
CountBillNumber of sales bills processed.
CountVoidNumber of voided bills.
CountCNNumber of credit notes.

CtrPayment​

Print Counter Management Report - by ID Payment

The CtrPayment dataset is automatically populated with the active X-Pos payment methods configured in SQL Account.

FieldDescription
PMCodePayment-method code.
PaymentMethodPayment-method description.
CurrencyCodeCurrency assigned to the payment method.
RateCurrent selling rate for the payment currency.
TransactionCountNumber of transactions processed using the payment method.
TransactionAmtTotal transaction amount for the payment method.
ExpectedAmtAmount expected according to the recorded transactions.
ActualAmtAmount counted or entered when closing the counter.
IsDefaultCashIndicates whether the payment method is the default cash method. 1 represents yes and 0 represents no.

The payment code, description, currency, rate, and default-cash status are retrieved automatically. The transaction count and amounts default to zero for the preview.

DefaultCashDetail​

Print Counter Management Report - by ID Default Cash Detail

FieldDescription
InitialCashCash balance entered when the counter was opened.
CashSalesTotal cash received from sales.
CashInTotal cash added to the counter.
CashOutTotal cash removed from the counter.

Summary​

Print Counter Management Report - by ID Summary

FieldDescription
GrossSalesTotal sales amount before returns and discounts.
ReturnAmtTotal sales-return amount.
ItemDiscAmtTotal discount applied to individual items.
BillDiscAmtTotal discount applied to entire bills.
TaxAmtTotal tax amount.
RoundingAmtTotal rounding adjustment.
GainLossAmtTotal gain or loss for the counter session.

Close Counter by Date Datasets​

CtrLog​

Print Counter Management Report - by Date Counter Log

For this report type, OpenAt and CloseAt define the reporting period instead of the opening and closing times of one counter.

FieldDescription
OpenAtStart date and time of the reporting period. The default is the start of the current month.
CloseAtEnd date and time of the reporting period. The default is the end of the current month.
TerminalCodeTerminal code included in the preview.
OpenBalTotal opening balance for the report.
CashInOutNet cash-in and cash-out amount for the reporting period.
CashBalCash balance for the reporting period.
VoidAmtTotal value of voided transactions.
TaxAmtTotal tax amount.
DiscAmtTotal discount amount.
SalesReturnAmtTotal sales-return amount.
CountBillNumber of sales bills processed.
CountVoidNumber of voided bills.
CountCNNumber of credit notes.

CtrPayment​

Print Counter Management Report - by Date Payment

The CtrPayment dataset uses the same fields as Close Counter by ID and is automatically populated with the active X-Pos payment methods.

FieldDescription
PMCodePayment-method code.
PaymentMethodPayment-method description.
CurrencyCodeCurrency assigned to the payment method.
RateCurrent selling rate for the payment currency.
TransactionCountNumber of transactions processed using the payment method.
TransactionAmtTotal transaction amount for the payment method.
ExpectedAmtAmount expected according to the recorded transactions.
ActualAmtAmount counted or entered when closing the counter.
IsDefaultCashIndicates whether the payment method is the default cash method. 1 represents yes and 0 represents no.

DefaultCashDetail​

Print Counter Management Report - by Date Default Cash

FieldDescription
InitialCashTotal opening cash balance.
CashSalesTotal cash received from sales.
CashInTotal cash added during the reporting period.
CashOutTotal cash removed during the reporting period.

Summary​

Print Counter Management Report - by Date Summary

FieldDescription
GrossSalesTotal gross sales for the reporting period.
ReturnAmtTotal sales-return amount.
ItemDiscAmtTotal item-discount amount.
BillDiscAmtTotal bill-discount amount.
TaxAmtTotal tax amount.
RoundingAmtTotal rounding adjustment.
GainLossAmtTotal gain or loss for the reporting period.

Report Template Checklist​

Before synchronizing a report template to X-Pos:

  • Select the correct report type.
  • Preview the report using representative sample data.
  • Test discounts, taxes, multiple payments, returns, voided transactions, and foreign currencies where applicable.
  • Check long descriptions and large values for alignment or wrapping issues.
  • Confirm the printer, paper size, and page layout.
  • Synchronize the terminal metadata after creating or modifying the template.