Skip to main content

Guide

Use this guide to configure POS settings, payment methods, terminals, and masterdata export for X-Pos.

What is MasterData

In X-Pos, masterdata is the setup data sent from SQL Account to a POS terminal so it can operate correctly.

It includes items, prices, payment methods, POS settings, customer and stock/location information. Synchronizing masterdata updates the terminal with the latest configuration; downloading masterdata creates a ZIP file for manual transfer.

Maintain POS Settings

Use Maintain POS Settings to create and manage POS configuration profiles. Each profile controls posting, payment, POS screen, customer display, receipt printer, and counter-closing behaviour.

Access Maintain POS Settings

  1. From the main menu, go to POS.
  2. Click Maintain POS Settings....
  3. Open an existing profile to edit it, or click New to create a profile.

The browse screen displays the profile code, description, and active status. The default profile uses code ----, which cannot be changed.

Open Maintain POS Settings

Create or Edit a Profile

  1. Enter a short Code for a new profile, such as NUMPAD or RETAIL.
  2. Enter a meaningful Description.
  3. Select Active when the profile is ready for use.
  4. Configure the options in the settings grid.
  5. Click Save to save the profile and its settings.

Maintain POS Settings form

Posting

Code Mapping

SettingDescription
Default Customer CodeCustomer code used for POS cash sales when no customer is selected.
Default Price TagPrice tag used as the default selling price source.
Default Custom Item CodeItem code used when a cashier enters a custom or non-catalogue item.
Default Discount Item CodeItem code used to post POS discounts.
Default Rounding Item CodeItem code used to post rounding differences.

Posting Behaviour

SettingDescription
Item Not ExistChoose whether an unknown scanned item is ignored or posted using the default custom item code.
Cash Sales DescriptionDescription used for POS cash-sales documents.
Post Account Date MethodSelect whether transactions are posted using the counter opening date or counter closing date.
Post Bill TypeControls when bills are posted. The available method now is only Close Counter.
Reset Document NumberSelect whether document numbers are
1. Never reset
2. Reset monthly
3. Reset yearly
DocNo FormatSelect a document-number format.
1. Simple
2. Daily
3. Monthly
4. Yearly
5. Full date-and-time
Running Number DigitsEnter the number of digits for the running number. The default is 5.

POS posting settings

Payment

SettingDescription
Enable Total DiscountAllows a discount to be applied to the total bill.
Accept Multiple PaymentAllows a sale to be settled using more than one payment method.
Save Zero Amount Cash SalesSaves cash-sales documents with a zero amount.
Fixed Currency InputSets currency input to two implied decimal places or zero implied decimal places.
Show Payment Change DialogDisplays the change-due dialog after payment.

POS payment settings

POS Screen

SettingDescription
Screen LayoutSelect
1. Classic
2. Numpad
3. Catalogue
4. Simple Touch
5. Touch
Merge Scanned ItemsSelect whether repeated scans
1. Join the last line
2. Always join an existing line
3. Never join lines
Full Screen ModeOpens POS in full-screen mode.
Always Ask QuantityPrompts the cashier to enter a quantity during item entry.
Always Ask Price on Zero Price ItemPrompts for a price when a scanned item has a zero price.
Always Ask Batch SelectionPrompts the cashier to select a batch.
After Quantity Change Always Reset PriceRestores the item price after the quantity is changed.
After Quantity Change Always Reset DiscountRestores the item discount after the quantity is changed.

POS screen settings

Customer Display

Set the customer-facing display Title, Background Color, Font Color, and Font Size to match the outlet's display device and branding.

Customer display settings

Receipt Printer

SettingDescription
Auto Print ReceiptPrints the receipt automatically after a sale.
Cut Receipt PaperSends the cut-paper instruction to a compatible receipt printer.

Receipt printer settings

Other

SettingDescription
Close Counter with PasswordRequires a password when closing a counter.
Undo Counter Close Timeout (mins)Sets the period, from 1 to 60 minutes, during which a closed counter can be undone.

Other POS settings

Settings Checklist
  • Complete the customer, item, discount, and rounding code mappings before processing sales.
  • Choose a document-number reset rule and format that meet the outlet's audit and reporting requirements before the first live sale.
  • Test the receipt printer before enabling Cut Receipt Paper, as this command depends on printer support.
  • Restrict counter-close access and set a suitable undo timeout for the outlet's cash-control process.

Maintain POS Payment Method

Use Maintain POS Payment Method to configure the payment buttons available at the POS counter and map each payment type to the relevant SQL Account payment method.

Access Maintain POS Payment Method

  1. From the main menu, go to POS.
  2. Click Maintain POS Payment Method....
  3. Click New to add a payment method, or open an existing record to edit it.

Open Maintain POS Payment Method

Create a Payment Method

FieldDescription
CodeEnter a short, unique payment code, such as CASH, VISA, or EWALLET.
DescriptionEnter the payment method name to display to users, such as Cash or Touch 'n Go.
GL CodeSelect the related SQL Account payment method or GL account. POS transactions made with this method are posted to the selected account.
DefaultSelect this option to make the payment method the default at checkout. Only one payment method should normally be used as the default.
ActiveSelect this option to make the payment method available at the POS counter. Clear it to keep the setup but prevent it from being used for new sales.

POS Payment Options

FieldDescription
TypeSelect the payment category:
1. Cash
2. Bank
3. Card
4. E-Wallet
CurrencySelect the payment currency. For foreign-currency payments, select the applicable currency; the displayed rate uses the current selling rate.
Sequence NoControls the payment method display order. Use consecutive numbers, such as 1, 2, and 3.
RoundingSelect No rounding or 5 cents rounding. Use 5-cent rounding only when required for cash payments.
Print Receipt (pcs)Enter the number of receipt copies to print. A maximum of three copies is allowed.
Must Fill Ref. NoRequires the cashier to enter a reference number before completing payment. This is useful for card, bank transfer, and e-wallet payments.
Kick DrawerOpens the cash drawer when this payment method is used. This option should normally be enabled only for cash payments.
PictureOptionally add an image or logo for the payment method.

Maintain POS Payment Method form

Click Save to save the payment method.

Example Setup

Payment MethodTypeGL CodeSuggested Setup
CashCashCash-on-hand payment methodSet as active and default, assign sequence number 1, and enable Kick Drawer. Enable 5-cent rounding only if applicable.
Card terminalCardCard or bank clearing payment methodSet as active, require a reference number, assign sequence number 2, and leave Kick Drawer cleared.
E-walletE-WalletE-wallet clearing payment methodSet as active and assign sequence number 3. Require a reference number when it is needed for reconciliation.
Payment Method Checklist
  • Ensure every POS payment method is mapped to the correct GL Code before processing live sales.
  • Keep only payment methods intended for cashier use marked as Active.
  • Use Sequence No to place frequently used payment methods first.
  • Test each payment method with a small transaction to verify the posting account, reference-number requirement, receipt copies, and cash-drawer behaviour.

Maintain POS Terminal

Use Maintain POS Terminal to register each POS device, assign its outlet location and POS settings profile, bind its API user, and synchronize its masterdata.

Access Maintain POS Terminal

  1. From the main menu, go to POS.
  2. Click Maintain POS Terminal....
  3. Click New to create a terminal, or open an existing terminal to edit it.

Open Maintain POS Terminal

Create a Terminal

FieldDescription
CodeEnter a unique terminal identifier, such as COUNTER01. Keep the code short and unchanged because it is used for terminal binding and masterdata export.
DescriptionEnter a clear device or counter name, such as Main Counter.
LocationSelect the stock or outlet location served by this POS terminal.
SettingsSelect the POS settings profile to apply to this terminal. Create the profile first in the Maintain POS Settings section.
Bind API UserDisplays the user account associated with the terminal for API use and masterdata synchronization.
ActiveMakes the terminal available for operation and online masterdata synchronization.
Last SyncDisplays the date and time of the latest masterdata synchronization.

Maintain POS Terminal form

  1. Create the required POS payment methods.
  2. Create and test the POS settings profile.
  3. Create the terminal and assign its Location and Settings profile.
  4. Select Active and save the terminal.
  5. Bind an API user.
  6. Synchronize masterdata before using the terminal.

Bind an API User

With the saved terminal open, use Bind API User when no user is currently bound. The system creates or reuses a dedicated API user based on the terminal code and binds it to the terminal:

<TERMINAL_CODE>_API

For example, terminal COUNTER01 is bound to COUNTER01_API. The binding action also creates an API secret key if the user does not already have one.

warning

Do not use the system ADMIN account as the terminal API user.

If the API user cannot be created, confirm that the application API host is configured and that your user has permission to maintain system users.

How to setup SQL Account API

Sync Terminal

Click Sync Terminal on a saved terminal to access the following actions.

ActionDescription
SyncCreates the masterdata package and uploads it to the POS masterdata service. A terminal UUID is created if one does not already exist.
DownloadCreates the masterdata package locally and lets you choose a folder in which to save the ZIP file. Use this option for manual transfer or troubleshooting.
UnbindRemoves the terminal UUID binding. Use this only when the terminal must be connected as a new device.

The terminal must be Active before online synchronization is available. Save or cancel any changes before starting a sync.

Sync Terminal options

Before Deploying the Device

  • Confirm that the terminal has the correct Location and Settings profile.
  • Confirm that the selected profile includes the required customer, item, discount, and rounding mappings.
  • Bind a dedicated API user. Do not share a terminal identity between devices.
  • Run a masterdata sync and record the generated PIN if the sync displays one.
  • Complete a test sale on the POS device and verify its payment and accounting behaviour.

Export POS masterdata

Export POS masterdata to prepare an X-Pos terminal with the required master data and configuration. You can upload the masterdata directly to the POS masterdata service or download it as a ZIP file for manual transfer.

Before You Begin

  1. Create the terminal in the Maintain POS Terminal section.
  2. Assign its Location and Settings profile.
  3. Select Active and save the terminal.
  4. Ensure that the required POS settings, payment methods, items, customers, and stock or location information have been maintained.
  5. Skip Step 1 below if Bind API User in Maintain POS Terminal setup correctly.

Step 1: Create and Bind the API User

  1. Go to POS > Maintain POS Terminal....
  2. Open the required terminal.
  3. Run Bind API User while the Bind API User field is empty.
  4. Save the terminal if prompted.

The system creates or reuses a dedicated API user in the following format:

<TERMINAL_CODE>_API

For example, terminal COUNTER01 uses COUNTER01_API. The system binds the user to the terminal and generates an API secret key when one does not already exist.

warning

Do not bind the ADMIN user. If the system reports that the API application is not configured, configure the application API host before trying again.

Terminal API user field

Step 2: Sync masterdata for One Terminal

  1. Open the terminal record.
  2. Ensure that the terminal is saved, active, and not in edit mode.
  3. Click Sync Terminal.
  4. Click Sync.
  5. Wait for the upload confirmation.

During the first successful export, the system assigns a UUID to the terminal. Later exports will update the Last Sync time.

If the service returns a PIN, record it immediately. The application displays the PIN and copies it to the clipboard for use when pairing or setting up the terminal.

Sync Terminal options POS PIN after synchronization

warning

The PIN cannot be retrieved again. If it is lost, revoke the current terminal binding and synchronize again to create a new PIN.

Step 3: Download masterdata for Manual Transfer

Use this option when the masterdata needs to be transferred manually instead of uploaded online.

  1. Open the terminal record.
  2. Click Sync Terminal.
  3. Click Download.
  4. Choose a destination folder.
  5. Keep the generated ZIP file intact and transfer it using your approved deployment method.

The download process also creates a UUID when needed and updates the terminal's Last Sync time after the file is saved.

Select Download from Sync Terminal

Export masterdata for Multiple Terminals

From the terminal browse screen, click More > Export Data.

Open Export Data

  1. Select one or more terminals in the export list.
  2. Click Export.
  3. Review the completion message for the number of successful uploads and any failed terminal codes.

Select terminals to export

Only terminals that already have a UUID binding are shown in the multi-terminal export list.

Batch export result

Reset a Terminal Binding

Use this procedure only when the terminal must be connected as a new device.

  1. Open the terminal record.
  2. Click Sync Terminal.
  3. Click Unbind and confirm the prompt.
  4. Click Sync again to establish a new binding.

Unbinding clears the terminal UUID. It is not required for a normal masterdata refresh.

Reset a terminal binding

Troubleshooting

IssueAction
Export cannot startSave or cancel changes first. Export is unavailable while the terminal is in edit or insert mode.
Sync is disabledConfirm that the terminal exists, is saved, and is Active.
Token or upload errorCheck the API and service configuration, confirm internet connectivity, then try again.
Time lookup errorCheck DNS and network connectivity, then try again when a trusted current time can be obtained.
Terminal masterdata is out of dateVerify the terminal location and settings assignment, save changes, then run Sync again.
A terminal is missing from batch exportSynchronize the terminal once individually to create its UUID binding, then reopen the batch export list.