Samples
Start here when you want working code to begin from. A sample shows one way into iVendNext, once, with its tests: pick the nearest one to your project, run it against your sandbox, and change it. A reference app is a whole product built through those ways in. Each card's command makes an app: put your company's own first word in place of acme.
Next: Build your first appFind the sample for a need
Prices and promotions 5
S5 · The configuration pack
What the retailer needs is already in iVendNext and only has to be switched on and filled in.
ConfigureElectronics and phones
Set in Desk first: no app needed
S24 · Price-checker kiosk
A tablet or screen stands on the store floor. A customer scans an item and reads its name, its picture and its price: the store's price list price for one unit, in the scanned unit, found by iVendNext itself. Nobody signs in on the tablet, and the retailer switches each kiosk on and off in Desk. An item with no price says so and is never shown as free. Offers are not shown: the kiosk says Any offer is worked out at the till.
Outside appGroceryHardware and DIY
ivn new acme_app --from s24S26 · Derived price lists
One price list worked out from another: the selling list is 1.5 times the buying list, or the wholesale list is 0.9 of the retail list. When someone changes a price on the source list, the app changes the derived price within seconds. Nothing changes at the till: the cashier sells at the list's price as before. A price a person set on the target list is kept and listed, never overwritten. A deleted source price ends its derived price from yesterday, and a rule's target can be another rule's source.
Outside appevery industry
ivn new acme_app --from s26S31 · Parent item groups in coupons and promotions
A retailer sets up a coupon for Supplements and expects it to cover every supplement, but the till's coupon and promotion engines match an item's own item group exactly. This sample's service, outside the retailer's iVendNext, writes the parent out as its child groups and keeps it that way: when the coupon or promotion is saved, and when a new group is added under the parent. The rows appear a few seconds after the save, not in the same save. A promotion's buy and get rows are reported, never written out.
Outside appBeauty and cosmetics
ivn new acme_app --from s31S38 · Expiry markdown
The retailer's rule decides a value on many records at once, a person decides when to apply it, and iVendNext already reads the value where it matters (here: a lot's own Item Price, which the till honours).
Desk actionBeauty and cosmeticsGroceryLiquor and wine+1
ivn new acme_app --from s38
Stock and buying 4
S19 · Unit codes at the scan
The retailer's own unit codes, read by the till's scan: one record per unit (its unique code, its item, its batch, Available or Sold) and a scan source over that table. A scanned unit lands as its item with its batch; a unit marked Sold is refused. Data only: no service, nothing leaves the retailer's iVendNext.
Scan sourceBeauty and cosmeticsElectronics and phonesPharmacy
ivn new acme_app --from s19S27 · Stock alerts and a draft transfer request
The retailer is told when a store's stock falls below its reorder level, or when a batch is close to its expiry date, and finds a draft stock transfer request already made from those alerts: one per store and day, for a person to check, change and submit. The app never submits anything. iVendNext's own automatic reorder submits at once and has no expiry alert; this app is for the retailer that wants a person in between.
Outside appGrocery
ivn new acme_app --from s27S30 · Units as serial numbers
Some retailers track every pack or handset by its own printed code. iVendNext already does this when the code is a serial number of an item that has both batches and serial numbers. This sample sets that up, moves an existing unit table onto it, and tells a lost unit from a sold one. No code runs in the retailer's iVendNext: the scripts run once on the administrator's computer, with the administrator's key.
ConfigureBeauty and cosmeticsElectronics and phonesPharmacy
Copy by hand: not an app made here
S40 · Expiry and recall
For a pharmacy, a grocery or any retailer that sells lots with an expiry date. A Recall Officer enters the regulator's notice and presses Block these batches: each lot is switched off at every till and store at once, each store's stock of it is found, and so are the customers it reached. Where the customer chooses a witness rule, recalled or expired stock is disposed of only against a Disposal Record carrying the regulator's visit. An Expiry Worklist lists the lots near expiry per store, and a goods receipt is refused when a lot has too few days left, unless its line carries a Letter of Undertaking.
Save rulesGroceryPharmacy
ivn new acme_app --from s40
Customers and loyalty 12
S20 · Warranty capture and a member code
Three capture services, each at its own address. On scan of an item in the named item groups, the service answers with a warranty reference for the line, and the cashier confirms it. On customer add, it refuses a customer without a mobile number or with a barred one, and otherwise sends a one-time code: the customer is created only after the right code, and a wrong code is counted. On a quantity change of a line in the iPad group, it asks above the limit you set and refuses above the most you set; with none set, it allows. No answer writes a customer field or moves money.
Capture on an eventElectronics and phones
ivn new acme_app --from s20S21 · Field rules for one till theme
The retailer's own words and fields on one till theme, with no code: the sale's line reads Product, the customer's card says Stars, the new-customer sheet has no email field, and a new customer needs a phone. Data only.
Field rulesevery industry
ivn new acme_app --from s21S22 · Customer-owned loyalty
The customer owns the rules (you write them in your own service), but staff should see the members, tiers and cash back on iVendNext's own screens, and the till should show a member's status.
Outside appHospitalityLiquor and wine
ivn new acme_app --from s22S25 · Gift card on spend
A customer's sale reaches the retailer's threshold. Within the next minute the app gives them the retailer's own gift card, of the value the retailer chose, from the retailer's own gift card item. The card is spendable once the hold has passed (24 hours by default), at the till, like any other gift card. Nothing changes at the till: the cashier rings the sale as before. Staff read each card under the customer or the sale in Desk, Gift cards.
Outside appFashion and footwearPharmacy
ivn new acme_app --from s25S28 · Merge counts, and a customer's history
One app, two doors. In Desk, a stock user ticks several draft stock counts and presses Merge counts: one new draft count appears holding every item of the ticked counts, to check and submit. A cashier presses Customer history with a customer on the sale, or a back-office user opens the page for a customer, and sees that customer's last sales: the date, the store, who served, and each discount.
Desk actionevery industry
ivn new acme_app --from s28S44 · Lucky draw
A rule the retailer keeps decides something from many of its own records (here, a campaign's sales), a person decides when, and the answer belongs on one record the retailer can keep and show.
Desk actionFashion and footwearThrift and resale
ivn new acme_app --from s44S47 · Customers by store
A rule about the customer decides where they may buy, and iVendNext keeps the rule itself, in Desk.
Capture on an eventevery industry
ivn new acme_app --from s47S48 · Customer code check
A customer's points, store credit or account must not be used by someone who only knows their name or number, and iVendNext sends text messages through its own SMS gateway.
Capture on an eventBeauty and cosmetics
ivn new acme_app --from s48S49 · Post-sale feedback
The retailer wants answers kept in iVendNext, by sale and store, sent through its own SMS gateway, e-mail account or WhatsApp app.
Desk actionevery industry
ivn new acme_app --from s49S55 · Front of house
A restaurant's host keeps the evening in iVendNext Desk: a reservation for each booking (the store, the date and time, the party size, the guest, a table if chosen) and a waiting list of walk-ins. Book holds the table for the party's stay and refuses an overlapping booking, naming the other one. Seat opens the party's check on the till at its table, once, never twice. No-show and Cancel booking free the table the booking held, and a waiting party set to Table ready can text the guest. Each press writes the next booking of every table at the store on the till's own tables, so the till's floor shows each booked table Booked with its time and a server does not seat a walk-in there. A guest's details are seen only by the host role, and the service never reads them.
Open checkHospitality
ivn new acme_app --from s55S56 · Guest ordering
Guests order for themselves. At the table a guest scans the table's QR code, reads the menu on their phone and sends an order: it lands on that table's check on the till, waiting for the server. At a kiosk a counter-service guest orders on a tablet, is shown an order code, and pays at the counter. Staff stay in charge: the app never sends anything to the kitchen and the guest never pays in the app. The page asks no name, phone or e-mail.
Open checkHospitality
ivn new acme_app --from s56S61 · Consignment payouts
The retailer sells goods on consignment (second-hand clothing, furniture, books, collectables, luxury resale) and pays consignors a share of each sale.
Desk actionThrift and resale
ivn new acme_app --from s61
Till controls and approvals 9
S1 · Warranty terms
You want to do something with every booked sale (register it, notify someone, audit it) and show the result to staff on the sale itself.
Till keyElectronics and phonesHardware and DIY
ivn new acme_app --from s1S18 · Members-only rule guard
When the cashier presses Pay, the retailer's server prices the basket and asks this service. It refuses a sale that holds a members-only item for a customer who is not a member, in its own words, and asks the cashier for ID when the sale is at or above the retailer's limit. Everything else is allowed. A refused sale books nothing.
Check before paymentevery industry
ivn new acme_app --from s18S23 · Till guard rules
The common checks a retailer wants before money is taken, in one app: no line at a placeholder price, the most of one item on a line, the most lines on one sale, a line below its lowest price, a large sale needing a yes or a manager's approval, and a question or a shelf-life warning when a flagged item is scanned. Each rule is off until the retailer sets it, in the app's settings record in Desk. At the till the cashier meets a refusal in the app's own words, a question, or a manager's sign-in.
Check before paymentElectronics and phones
ivn new acme_app --from s23S32 · Coupon rules
Rules a retailer adds to its own coupons, checked when the cashier presses Pay. One rule record per coupon, written in Desk, each off until ticked or set: first purchase only, only for customers in one group, and a sale of a set amount, before its discounts, needed for each use. The till refuses with "This sale can't be paid" and says why; the cashier removes the coupon (or adds the new customer) and presses Pay again. A coupon with no rule is never refused.
Check before paymentElectronics and phonesFashion and footwearPharmacy
ivn new acme_app --from s32S36 · Duty-free allowance and boarding pass
An airport store sells only to passengers with a valid boarding pass, and only up to each passenger's customs allowance. The cashier scans the boarding pass into Sale details on the basket; at Pay the app reads the pass and the basket. It refuses, in words the cashier can act on, a sale with no pass, a code that is not a pass, a flight from another airport or on another day, and more of an item group than the allowance, counting the passenger's earlier sales on the same pass. Everything else is allowed. A refund is never judged.
Check before paymentTravel retail
ivn new acme_app --from s36S43 · Third-party payer
A third party pays part of a sale, the retailer claims it afterwards, and the customer pays only their share at the till.
PayerOpticalPharmacy
ivn new acme_app --from s43S46 · Payment method rules
A rule about the sale's customer decides which payment methods the till may take, and iVendNext keeps the rule itself, in Desk.
Check before paymentevery industry
ivn new acme_app --from s46S50 · Required sale details
A sale detail matters for some customers only. A Sale Attribute's own Required switch holds for every customer on every till; this app holds it for the groups and tills the retailer names.
Check before paymentevery industry
ivn new acme_app --from s50S51 · Refund rules
A sale paid by card alone must not be refunded in cash, or a no-receipt return must go to store credit. A payment method's own Allowed in Returns holds for every refund alike; this app looks at the sale being refunded. Each store refunding only its own sales needs no app: leave Use inter-store transactions off in Retail Setting (the default), and a till opens only its own store's sales for a return against a sale (a layaway plan's refund is payable at any store of the company).
Check before paymentevery industry
ivn new acme_app --from s51
Documents and print 17
S2 · Bin locations
Your product keeps its own data beside the retailer's (here, bins) and staff should see it in Desk and at the till.
ManifestElectronics and phonesFashion and footwearGrocery+2
ivn new acme_app --from s2S4 · UAE tax invoice receipt
The retailer's receipt must carry what your market's tax rules ask for, and you want to ship that layout as a package the retailer installs and removes cleanly.
Manifestevery industry
ivn new acme_app --from s4S11 · Purchase Order approval
A customer wants a person's yes before an order goes out, or wants to move it through its own steps. If the amount and the approver are all they want, they need no app: Authorization Rule in iVendNext Desk does that with no workflow, and the card says how.
Manifestevery industry
ivn new acme_app --from s11S14 · Price change approvals across stores
An approval whose approver depends on the store, and on how big the change is. For one retailer with one approver, S11 is enough.
ManifestThrift and resale
ivn new acme_app --from s14S16 · Assign pick route
You want a button on a Desk record that sends the record to your service and shows the answer.
Desk actionDistribution and warehousing
ivn new acme_app --from s16S29 · A layout of its own for each distributor's invoice, and a price list with photos
A distributor sells to four or five other distributors, and each wants its own invoice layout. The distributor also sends each a price list with a photo of every item, so nearly identical products can be told apart. This sample does both without touching the till: two ways to give the back-office sales invoice a layout for each customer, and the photo price list two ways, a print format on the price list itself and a small program that makes it as one page that prints to PDF.
ManifestDistribution and warehousing
Copy by hand: not an app made here
S34 · Purchase orders checked by your ERP
A distributor's ERP knows things iVendNext does not: which suppliers are on hold, and how much of its monthly purchasing budget the company has left. This app asks it before every purchase order is submitted, from Desk, an import or the API. A supplier on hold means the order is not submitted and stays a draft, with the ERP's reason. An order over the month's budget needs approval by a Purchase Manager. An order that is all clear is submitted with the ERP's own order number filled in.
Document checkevery industry
ivn new acme_app --from s34S39 · Pharmacy counter rules
A pharmacy sells medicine under a licence. A prescription line is paid only against a valid prescription for this customer. A controlled or prescription-only line is sold only by a pharmacist whose licence is in date. A controlled sale needs the patient's identity. Quantity caps hold, and dispensed medicine is not taken back. The same rules hold when a sale is made on the Desk.
ManifestPharmacy
ivn new acme_app --from s39S41 · Regulated stock register
The retailer's law names a book and its columns, and the book must hold every sale or receipt of certain stock, in order, never edited.
Register booksPharmacy
ivn new acme_app --from s41S42 · Optical prescriptions and lab orders
A store keeps a record about its customers that decides whether some items may be sold, and the till must hold the rule while the record's contents stay in the retailer's iVendNext.
ManifestOptical
ivn new acme_app --from s42S45 · Restaurant back office
A café or restaurant rings its dishes at the till as it does today. A dish is a plain item that is not stocked, with a recipe on it: the parts and how much of each makes one dish. Once a day, after the close, the manager presses Issue ingredients and the ingredients of everything sold come off the kitchen's stock. Two more buttons work out the food cost and check the dishes' allergens, and the till shows a dish's allergens under its line and on the receipt.
ManifestHospitality
ivn new acme_app --from s45S53 · Alterations and made-to-measure tickets
A store alters what it sells (a hem, a waist, a sleeve) or makes to measure (a suit, a dress), and its tickets are on paper today.
ManifestFashion and footwear
ivn new acme_app --from s53S57 · Donation intake with a donor receipt
A store takes donated goods in at its door, and its donations and receipts are on paper or nowhere today.
ManifestThrift and resale
ivn new acme_app --from s57S58 · Repairs by serial number
A store repairs or services the units it sells (phones, laptops, appliances), and its repair jobs are on paper or in a separate system today.
ManifestElectronics and phones
ivn new acme_app --from s58S60 · Project quotes and deliveries by stage
A store sells to builders or contractors whose jobs run over several quotes, orders and deliveries, and today it keeps the job on paper or in the builder's purchase order numbers.
ManifestHardware and DIY
ivn new acme_app --from s60S62 · Liquor excise returns
The retailer sells alcohol and reports volumes to an excise or licensing authority. The authority's own form, its codes and duty rates differ by country and state: they are the partner's version, built on these figures.
Desk actionLiquor and wine
ivn new acme_app --from s62S64 · Production station
A processing room tags priced goods from fixed price points by category, with a tag colour that turns each week, and its workers are not iVendNext users (many are in job-training programmes: the screen is learned in one shift).
Desk actionThrift and resale
ivn new acme_app --from s64
Reports and data 2
S9 · A BI feed
Reports or dashboards outside the retailer's iVendNext need the retailer's sales, kept up to date and checked against the till's own end-of-day figures.
Outside appevery industry
Copy by hand: not an app made here
S54 · Sell-through by size
The retailer sells styles in sizes and colours (clothing, footwear, sportswear) and wants sell-through per size in each store, from its own till sales and stock.
Outside appFashion and footwear
ivn new acme_app --from s54
Integrations, payments and hardware 8
S7 · A system sync
Another system is the master for items, prices or stock, and it must also learn of every sale.
Outside appevery industry
Copy by hand: not an app made here
S17 · Order board (a partner page)
Your service needs its own screen in the till or in Desk, and may hand one answer back to the sale.
Partner pageevery industry
ivn new acme_app --from s17S33 · Click and collect
A retailer sells on the web and its customers collect in store, and you want every store to see the same lists without building a screen.
Manifestevery industry
ivn new acme_app --from s33S35 · Call-centre orders by district
You want a press in Desk to decide something about the record from data iVendNext already holds, and write the answer back onto it.
Desk actionHospitalityPharmacy
ivn new acme_app --from s35S37 · Age-restricted sale check
A retailer that sells alcohol, tobacco, vapes, knives or some medicines must see the customer's ID before it sells them. Each restricted item group (or item) gets its age. When the cashier scans a restricted item, the till shows the date of birth the customer must be born on or before, and one tap records the check on the sale. At Pay, a restricted line the sale's check does not cover is refused, in words that say what to do. No date of birth or ID number is asked or kept: the sale records the age band the cashier confirmed. A refund is never judged.
Capture on an eventGroceryHospitalityLiquor and wine+2
ivn new acme_app --from s37S52 · Phone plans from a telecom company
Any link between the till and an outside system that prices something per retailer account (the outside system confirming each customer at Pay) and must hear about the sale afterwards: a telecom company's plans, an insurer's device cover, a utility's connection. Chapter 1c of the guide walks this sample hop by hop (How the data travels).
Check before paymentElectronics and phones
ivn new acme_app --from s52S59 · Kitchen screen
The kitchen runs from screens instead of paper. When a till presses Send, each station's ticket shows on that station's screen, oldest first, with how long it has waited. A cook taps it Start, then Ready, then Bump. At the pass, an expo screen shows every station's tickets of one order together and adds up what is still to make. A Now serving board shows the call numbers that are ready. A cook can mark any dish sold out, found by name before anyone orders it, and the tills stop selling it within about a minute. A ticket shows the sale's service mode (To go). The app never voids, comps, changes a line or touches money.
Station ticketHospitality
ivn new acme_app --from s59S63 · Room charge
Any restaurant, bar or room service in a hotel whose hotel system can find a guest and take a charge. It also shows a check that fills a sale detail, and a worker that posts once per sale with no state of its own.
Check before paymentHospitality
ivn new acme_app --from s63
More ways in 6
S3 · Price-deviation audit
You want an after-the-sale check on prices, discounts or anything else a booked sale carries.
Event feedFashion and footwearThrift and resale
ivn new acme_app --from s3S6 · The AI till key
The cashier needs an answer, during the sale, that only your service can give.
Till keyevery industry
Copy by hand: not an app made here
S8 · An estate roll-out as code
You open or change stores in numbers, and need to see what will change before it does and prove afterwards that iVendNext matches the file.
Configureevery industry
Set in Desk first: no app needed
S10 · The manager's AI assistant
A manager wants to ask "what sold in the Store 1 store yesterday?" or say "put the 10% off AirPods promotion on" in plain words.
Outside appevery industry
Copy by hand: not an app made here
S12 · The customer's release gate
Before every release, in your pipeline, against a staging site.
Outside appevery industry
Copy by hand: not an app made here
S13 · A standalone portal with "Sign in with iVendNext"
A screen of your own, outside the retailer's iVendNext, for people who already have iVendNext accounts. If the screen can live inside the retailer's iVendNext, use the native screens first (guide chapter 13a).
Outside appevery industry
Copy by hand: not an app made here
No sample matches. Try fewer words, or find it by the customer's need on the Needs page.
Reference apps
Two have a repository so far, built by the CitiXsys Consulting Team through this same kit and a sandbox made the way yours is. Both have a brief and nothing to download yet. Whatever the team finds missing goes into the kit through the same feedback forms members use.
Quick-commerce hub
A store's iVendNext site and a quick-commerce marketplace kept in step: orders arrive as sales orders, stock goes out, staff pick and pack from an order board.
Doors: Outside app, Till key, Manifest, Desk action, Partner page
Brief ready
Not open yet: the repository is private to the kit's maintainers, so anyone else, members included, sees GitHub's "page not found".
Third-party logistics and shipping
The warehouse side of an order: a pick route from a sales order.
Doors: Outside app, Till key, Manifest, Desk action, Partner page
Brief ready
Not open yet: the repository is private to the kit's maintainers, so anyone else, members included, sees GitHub's "page not found".
Where a sample ends and a reference app begins
| Sample | Reference app | |
|---|---|---|
| Home | a folder in the kit, samples/ |
its own repository in the ivendnext-developers organisation |
| Size | shows one door (sometimes two), once, with its tests | a complete product that combines several doors, with a brief, a manifest, a service, a stand-in for the far side, tests and docs |
| You use it to | copy a piece into your own app | start a product: fork the whole repository, once it is open |
| It counts as one when | its change is merged into the kit | its repository exists; it is called Ready to copy once it is delivered through the kit only |












































