Retail Extensions · Rule · checked 2026-11-06
Watch the film: Till guard rules | App library spotlight
Till guard rules puts the common checks before payment in one app. It stops a line at a placeholder price, a line with too much of one item and a sale with too many lines, checks a line priced below its lowest price and a large sale with the cashier or a manager, and asks a question when the cashier scans an item you flagged, or, if you prefer, warns the cashier that another batch of the item expires sooner. Each rule is off until you set it. This page covers what the app adds, how to set your rules, what the install switched on, and how to remove it.
What it does
When the cashier presses Pay, your iVendNext sends the priced sale to the app's service. The service reads your settings and answers before the payment screen opens.
| The cashier sees | When |
|---|---|
| The payment screen, as always | No rule applies to the sale. |
| "This sale can't be paid", with "Line ⟨n⟩: ⟨item⟩ is priced ⟨price⟩. Correct its price before the sale is paid." | A line is priced above 0 and at or below your placeholder price. A free line, priced 0, is never refused. Nothing is paid. |
| "This sale can't be paid", with "Line ⟨n⟩: ⟨quantity⟩ of ⟨item⟩. The most on one line is ⟨most⟩." | A line has more of one item than you allow. Nothing is paid. |
| "This sale can't be paid", with "This sale has ⟨lines⟩ lines. The most on one sale is ⟨most⟩. Ring the rest as a second sale." | The sale sells more lines than you allow. Nothing is paid. |
| "Line ⟨n⟩: ⟨item⟩ is ⟨price⟩, below its lowest price of ⟨lowest⟩.", then the question or a manager's sign-in, as for a large sale | A line is priced above 0 and below its lowest price in your list of lowest prices, or sold in a unit with no lowest price (see Lowest prices). When the sale is also large, one approval covers both and says so. |
| A Yes or No question: "This sale is ⟨amount⟩ or more. Has a manager agreed to it?" | The total the customer pays is at or above your approval amount, and you chose ask. No goes back to the sale. |
| "Sales of ⟨amount⟩ or more need a manager's approval.", and a manager who is not the cashier signs in on the till | The total the customer pays is at or above your approval amount, and you chose approve. |
| The sale goes on, and is flagged on Sales to review | The service did not answer in time, or it has not been sent the app's user yet. A ticked item scanned then goes on the sale without its question. |
When the cashier scans an item whose Confirm at the till when scanned is ticked, the till beeps and asks "⟨item⟩: ⟨your question⟩". No leaves the item off the sale. If you switch on Warn of a shorter-dated batch instead of asking, the question is not asked for a ticked item; see Warn of a shorter-dated batch.
A return is checked only for the items it sells, as in an exchange, by the price and quantity rules; on a return the till says "This refund can't go ahead" instead of "This sale can't be paid". What a return takes back is never checked. The approval amount is compared with the total the customer pays: on an exchange, what it sells less what it takes back. The app reads your settings, the item's batches when the warning of a shorter-dated batch is on, and your lowest prices when you set them, and writes nothing to your iVendNext.
What you set up first
- Install the app from the App library (see About Retail Extensions). The install adds the app's own user,
ivendnext_tgr@integration.invalid, with one role, IVENDNEXT TGR Integration. That user works through the API only and can never sign in to Desk. The install also adds a tick Confirm at the till when scanned on each item. Both services come in switched on for every POS Profile, with your consent recorded. - Search Desk for Registered Application and open IVENDNEXT TGR Guard. The install named the app's user on it. Nobody can give it a password or another role. The role needs no other rights, except read on Batch if you use the warning of a shorter-dated batch (below).
- In the App library, find the app under Your apps and press Details. Your site connects the app by itself after the install, and Hosted app says that it sent the service the key of the app's user. Press Connect again only if the site could not reach the app, or a key was lost or changed.
- Set your rules (below), and tick Confirm at the till when scanned on each item the cashier should be asked about.
- Limit the services to your stores, if you need to (below).
Settings
Search Desk for Till guard settings and press Add. The service reads the record named Default, so keep that title. A blank or 0 switches a rule off.
| Field | What it does |
|---|---|
| A line priced at or below this is refused | Your placeholder price, such as 0.01. A free line, priced 0, is never refused. |
| Lowest prices | A price list with each item's lowest price (see Lowest prices). Blank: off. |
| Most of one item on a line | The most of one item on a single line. A promotion may split one item across two lines; each line counts alone. |
| Most lines on one sale | The most lines one sale may sell, up to 499. What a return takes back is not counted. |
| Sales of this amount or more need a manager | The total the customer pays that needs a manager's yes. |
| How a sale needing a manager is checked | For a large sale and a line below its lowest price. ask: the cashier answers Yes or No. approve: a manager who is not the cashier signs in on the till (see A manager's approval below). |
| The question on a flagged item | Asked when a ticked item is scanned. Blank: "Check this item before it goes on the sale. Add it?" |
| Warn of a shorter-dated batch instead of asking | Off by default. When ticked, a ticked item that is scanned is not asked about; the till warns instead when the store has a batch of it that expires sooner (below). |
- Amounts are one number, used in whatever currency the sale is in.
- The service reads your settings again within a minute of a change.


Lowest prices
For an item that may not be sold below a set price without a manager's approval. The app compares each line's price, after the line's own discount, with the item's lowest price in the unit the line is sold in.
Use what iVendNext already does first. iVendNext refuses a price below the item's cost when Selling Settings has Validate Selling Price for Item Against Purchase Rate or Valuation Rate ticked. It keeps a cashier's price change within a share of the list price, unless a manager approves, through the price override lower and upper limit on the cashier's Retail Permission. And an item's Max Discount (%) caps a line's discount. Use this app's lowest price for a set amount per item and unit, which none of those gives.
Set it up.
- The install gave the app's role read on Item Price (iVendNext POS 2.1.0.691 or later; on an earlier site, in Role Permissions Manager, choose the document type Item Price, add the role IVENDNEXT TGR Integration and tick Read). That is why you can name a list straight away: once a list is named, a sale the service cannot read prices for goes on and is flagged on Sales to review. The refusals above still act, and a large sale still goes to its approval, which then says its lowest prices could not be checked. With ask, the cashier's Yes then lets it go on without a flag, so choose approve.
- Search Desk for Price List and press Add. Name it, for example Lowest prices, tick Selling, choose the currency you sell in, and save.
- Add an Item Price row in that list for each item, with its lowest price, entered as your selling prices are (with tax if they include it). Give each unit you sell the item in its own row: a box's lowest price is the box's, not the single item's. A line sold in a unit with no row, for an item that has a row in another unit, needs approval too. A row for one customer, one supplier or one batch is not used. You can fill the list with Desk's Data Import.
- In Till guard settings, open the record Default, choose the list in Lowest prices, choose approve in How a sale needing a manager is checked (with ask, the cashier answers alone), and save.
Limits.
- It is checked at Pay, not when the line is added.
- Only a sale's first 500 lines are checked. To refuse larger sales, set Most lines on one sale; a number above 499 counts as 499.
- The service has about two seconds, inside the till's three, to read your settings and prices. Past two, a large sale still goes to its approval, saying its lowest prices could not be checked. Past three, for example on the first sale after a quiet spell, the till treats the service as not answering: the sale goes on and is flagged on Sales to review, with no approval. Keep the check's time to answer at 3 seconds or more.
- A line's price is compared after its own discount and its share of any discount on the whole sale. A line made free with a full discount is not checked.
- Only rows in the sale's currency are used: if your stores sell in two currencies, the stores in the other one have no lowest prices.
- On a site that had the app before, the two new fields sit at the end of the settings record.
- A row's Valid From and Valid Upto dates are read in UTC. Of two rows for the same item and unit, the one valid from the later date is used.
- Every answer is kept: in Desk, the Retail Extension Log of Till guard rules shows each sale's answer and, when a manager approved, who it was.
Warn of a shorter-dated batch
For items you sell by batch with an expiry date, the app can tell the cashier which batch to sell first. It replaces the question: with the warning on, the till no longer asks "Add it?" for a ticked item.
What the cashier sees. The item goes on the sale with no tap, and the till shows a sentence after the service's name (Till guard: confirm item): for 8 seconds at a till with a scanner or keyboard, and, on a phone scanning with its camera, until the cashier taps Got it. The service counts only the store's batches of the item that have stock and an expiry date. It warns in two cases:
| The cashier | The till shows |
|---|---|
| Scans the item's ordinary barcode, and the store's batches expire on different days (even if the cashier is selling the earliest) | "⟨item⟩: sell batch ⟨batch⟩ first. It expires ⟨date⟩." The batch named is the earliest. |
| Scans a batch's own label, and another batch expires sooner | "⟨item⟩: batch ⟨batch⟩ expires sooner (⟨date⟩). Sell it first." |
| Scans the earliest batch's own label; or the store has one batch, or every batch expires on the same day; or the scanned batch has no stock here or no expiry date | Nothing. The item goes on. |

Set it up.
- In Till guard settings, open the record Default, tick Warn of a shorter-dated batch instead of asking and save.
- The install gave the app's role read on Batch (iVendNext POS 2.1.0.691 or later; on an earlier site, in Role Permissions Manager, choose the document type Batch, add the role IVENDNEXT TGR Integration and tick Read).
- Tick Confirm at the till when scanned on each item the warning is for, as for the question. An item that is not ticked is never checked.

Limits.
- It needs POS build 2.0.0.654 or later. An older build does not accept the warning, so the item goes on and the sale is flagged on Sales to review.
- The item always goes on the sale; the warning never stops it.
- An item the cashier picks from a list, rather than scans, is not checked.
- The service has about a second to read the store's batches inside the till's 1.5 seconds. If it cannot, nothing is shown. The first scan after a quiet spell can take longer: if the service has not answered in 1.5 seconds, the item goes on and the sale is flagged.
- The service keeps each batch's expiry date for a day, so a date you change on a batch can take up to a day to be used.
- Each scan with the warning on asks your iVendNext for the batches, so switch it on only for the items that need it.
What the install switched on
The install switched both services on for every POS Profile and recorded your consent. They answer every store until you limit them.
- Search Desk for Retail Extension Subscription. Open Till guard rules (at Pay) and Till guard: confirm item (at the scan). To read what each is sent, read the record.
- To limit a service to some of your stores, choose their POS Profiles in Only for these POS Profiles. The field's own help says "Empty: every POS Profile."
- Save each.
A manager's approval
To use approve, first give your managers May Approve a Partner's Check on their Retail Permission, and write access to Retail Override Request. Then tick May ask for a manager's approval on Till guard rules. Without the tick, an approve answer is not used and the sale goes on, flagged.
What leaves your iVendNext
The app's service runs at till-guard.ivendnext.app, hosted by CitiXsys. After the install or an update, and when you press Connect again after a lost or changed key, or when the site could not reach the app, your site sends the service its key from the App library, its address, the signing keys of the two services, and the API key of the app's user.
At each Pay your iVendNext sends the priced sale: each line's item code, item group, quantity and amounts, the totals, the customer and their customer group, the coupons, the sale details the cashier captured and the payment methods offered. At the scan of a ticked item it sends that line, the sale's reference, the store, the till, the cashier and the customer. No card details are sent. With the app's user, the service also reads your Till guard settings record and, with Lowest prices set, that list's Item Price rows for the items in the sale. With Warn of a shorter-dated batch instead of asking ticked, at each scan of a ticked item it also reads the store's batches of that item and each batch's expiry date. It writes nothing to your iVendNext.
Limits
- A settings change, or a change to a lowest price, can take up to a minute to apply.
- Until your site has sent the service the key of the app's user, and whenever the service does not answer, sales go on and are flagged for review.
- Offline, the till cannot ask the service, so it acts as when the service does not answer (above).
- After you install the app again, the install makes the app's user again, and your site connects it by itself.
How to remove it
- In the App library, find the app under Your apps and press Details.
- On the app's record, press Export and uninstall and confirm. iVendNext first exports your settings record to a file, and tells the service that the app was removed.
- iVendNext removes the two services, the settings, the tick on items, the feed registration and the role.
- iVendNext also removes the app's user and its key, so the key the service had stops working.