Switch to iVendNext from NCR Counterpoint
iVendNext Switch · checked 2026-11-29 against the Counterpoint kit and the app's development branch
Watch the film: Switch from NCR Counterpoint to iVendNext (10:51)
This page is for a retailer that runs NCR Counterpoint and is moving to iVendNext. Counterpoint keeps everything in a Microsoft SQL Server database on the retailer's own server, so the kit has two parts: a read-only PowerShell export you run on that server, and a reader that turns the export into the iVendNext Switch workbook. The reader also ties every shopper balance to Counterpoint's own figures.
The kit was built and tested on invented data, so your first export is the first real Counterpoint export it reads. A table or column a figure depends on stops the run and is named. Anything else the reader does not find is listed on one Check line. Send the list to your CitiXsys partner manager.
Before you export
- Run the export after a closing day, and again on the cut-off day, after the last sale (see Run the kit twice). Each run takes about fifteen minutes, and the script only reads.
- Every store has closed for the day and every ticket is posted. Open orders and layaways stay open, and their deposits are read.
- With Multi-Site, every store has sent its last changes to the company database.
- Finish or void every held ticket and quote. They are not moved.
- You need a Windows machine that reaches the retailer's SQL Server, and a login that can read the company database. Your own Windows sign-in is enough when it can read the database. Otherwise use a SQL login with only
db_datareader. Run the export on the company database, the one every store posts to, never on a store's own database. - One Counterpoint database is one company. A chain with two companies exports and reads each on its own.
- In the usual case the books stay in the finance system, because Counterpoint keeps no general ledger.
Export the data
Copy counterpoint_export.ps1 to that machine and open PowerShell in its folder.
- Windows blocks a script copied from another machine. For this window only, run
Unblock-File .\counterpoint_export.ps1andSet-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass. - Run
.\counterpoint_export.ps1 -Server SQL01 -Database DEMOGOLF -StoresClosed, with the server's and the company database's names. With a SQL login, add-Credential (Get-Credential). If the server's certificate is not trusted on that machine, add-TrustServerCertificate. - It writes the folder
counterpoint_exportbeside the script: one CSV file for each table, andmanifest.jsonwith each table's row count, a fingerprint of each file, and the money and quantity totals summed on the server. Give the whole folder to the reader unchanged.
Do not open a file and save it. A spreadsheet changes long numbers and codes when it saves, the file no longer matches its fingerprint, and the reader refuses it.
The folder has customers' names, phone numbers, e-mail addresses and loyalty card numbers, and every gift card and store credit number with its balance, which a shopper can spend. Keep it with the project, never in e-mail or on a shared drive. No password, payment card number or image is read.
The script writes nothing and says what to do when -StoresClosed is missing, when a ticket is still open, when the database has stock for some stores only, or when the database is not a Counterpoint company database. If a new store has no stock yet, run again with -StoresWithoutStock and the store codes exactly as the message writes them, quotes included (-StoresWithoutStock '02','07'). The reader then lists those stores for you to accept.
Read the export
Ask your CitiXsys partner manager for the kit. You run its reader on your own machine, from the kit's folder, with Python 3.10 or later and openpyxl (python3 -m pip install openpyxl). The .xlsx file the run writes is the workbook you upload at step 2.
python3 -m cpt_reader read --export counterpoint_export --questionnaire q.json --out run/
# on Windows, type py -3 in place of python3
The questionnaire has one tab for each thing Counterpoint does not keep, in the workbook's own headings. Start from the example file the kit ships. It asks for:
- Company (required, one row): name, short code, country, currency, fiscal year start, balances date (the closing day you export after) and Books in iVendNext.
- Taxes: each tax code and rate. Counterpoint works tax out from tax authorities and rules, which the export does not carry.
- Stores and tills: each store's tax code by its Counterpoint store id. With one tax code, every store takes it.
- Loyalty programme: the program's code, points for each 1 spent and the value of a point. Also Payment methods and, with Books in iVendNext at Yes, Opening trial balance. A tab the reader makes itself (Items, Customers, Balances) is refused, never ignored.
- counterpoint:
loyalty_programmeis the program whose points load.points_expireis the day points expire. Counterpoint keeps no expiry on a points balance, so left out, a Check line asks you to accept a year.exempt_tax_codeis the code for items Counterpoint marks not taxable.manager_userslists the user ids who are managers.
Every line the reader marks Check waits for you. Read it with the customer. Type Accept in its Decision cell on the workbook's Mapper changes sheet (or in changes.json), then run the reader again with --decisions <that file>. Accepting a line about something left out means it stays out. The reader never loads it. An Accept stays good only while the line stays the same: when its count or total changes, the line asks again. A workbook with an undecided line is never loaded.
The reader ends with one of three answers. Exit 0 is READY TO LOAD. Exit 1 is NOT READY TO LOAD: it prints the problems and the lines to check. Exit 2 means it cannot read the export as it is, and it prints what to do.
A run writes these files into the output folder: the workbook <project>.xlsx (with a Mapper changes sheet and a Reader totals sheet), the change list in plain words (<project>.changes.md and .changes.json), totals.json, the checker's report, and the run summary.
Run the kit twice
You run the kit twice. The first run makes the workbook for step 2, the test load. The second run, on an export taken after the old system's last sale, makes the cut-off workbook for step 11. Take each export after a closing day, and put that day in the balances date. The reader makes the workbook again from the export on every run, so correct a problem in the old system, the export or the questionnaire. A correction made by hand in the workbook is lost at the second run. Ask your CitiXsys partner manager which day to use for the first export.
What moves
| What | How it arrives |
|---|---|
| Gift cards | On the card's type, its store and its expiry, checked against the card's history of issues and redemptions. |
| Store credit | Loaded like a gift card, with STC- in front when a gift card has the same number. |
| Deposits on open orders and layaways | A deposit ORD-<ticket> or LWY-<ticket> on its customer. The store re-creates the order or layaway at the till. |
| Money the customer has on account | A deposit ACC-<customer>. |
| Money owed on account | With Books in iVendNext at Yes, an open invoice AR-<customer>. With No it is not loaded: Reader totals gives the figure, and you collect it in the finance system. |
| Loyalty points | On the customer. The card number stays in the workbook until the site has a field for it. A fraction of a point rounds up, so no member loses one at go-live. |
| Opening stock | At the average cost. A gridded item loads by its cells, a template with one variant for each cell. A serial-tracked item loads with its serial numbers. |
| Pay codes | Gift card and store credit pay codes become the till's own Gift Certificate and Store Credit, so the loaded cards redeem. |
What you check
Tie the figures on the Reader totals sheet to Counterpoint's own totals, which the export summed on the server before you send the workbook on. Then read each Check line.
- A card or balance that is voided with a balance, whose history disagrees, that is expired by the balances date, below zero, has more decimals than the currency, or has a number on two cards is named and not loaded.
- A deposit whose payments disagree with the tendered total less change is named and not loaded.
- A stock row with no average cost loads at the item's last cost there, on a line to accept.
- iVendNext books each stock line at its cost rounded to the cent, so a store's booked value can differ from Counterpoint's by up to half a cent for each unit. Reader totals shows both.
- A gridded item's dimension names come from the grid table, else Dimension 1, 2, 3 on a line. A cell below zero leaves the item's row at that location out, named.
What stays behind
- Mix-and-match offers and price rules: set them up on Promotions.
- Alternate selling units, tax authorities and rules.
- Ticket history line by line. A 12-month sales summary is summed on the server instead.
- Held tickets and quotes.
- House-charge and loyalty pay codes: the till has its own.
- Where a reader line says to add a record on the test site, that record is data on the test site: it is not carried to production. The cut-off load does not bring it either. Add it on production in iVendNext Desk after the cut-off load, or correct it in Counterpoint before the last export.
Go live on iVendNext Switch
The eleven steps are the same for every old system. This section covers the steps where the Counterpoint kit changes what you do. Steps 5 to 11 are on Take a customer live with iVendNext Switch.
- Step 1. In The readiness check, choose Switch kit: NCR Counterpoint as the old system. The ERP and payment gateway lines offer what iVendNext Switch sets up, then Other only and None. The online store line offers Other only and None: the partner connects it. The quote shows a line for the Counterpoint kit. The page shows no amount: our people send you the quote with its amounts.
- Step 2. This step opens when CitiXsys records the order as paid. Upload the kit's workbook under Or the iVendNext workbook, filled in, and press Check the workbook. No AI mapping runs, and the mapping report says so.
- Step 3. A CitiXsys product expert reviews the report before you see it. When it is approved, read it with the customer and press Approve the mapping. The button keeps that name on a workbook path.
- Step 4. The checker reads the workbook, lists every problem by tab, row and column, and compares the data with the order under The data against the order. For each line, either choose it in the readiness check and save the check, or tick it and press Leave the ticked out of the load. A line with no tick box must be added.