Skip to content

Voucher Management Applet V2

Define the vouchers your counter and web store accept, and issue a ticket for each serial number. This page is for whoever runs voucher campaigns and whoever answers “this ticket says Redeemed, but where and when?” — and the answer is that every figure on these screens is written by a different event (a Finalise, a hand edit, a direct redemption, a job) and none of them by the calendar, so a ticket past its date still reads as valid.

A voucher posts nothing of its own; it reaches the ledger only through the sales document it is used on. Lifecycle and effects says what writes each figure, walks one RM 50 voucher through a sale and a void, and ends with a thirty-second check.

Your job, and the screen for it

The jobScreen or tabRead
Define a voucher — the create form’s Event Period and Redemption Period are saved as its date rules and start at today, 00:00 to 23:59, and the till refuses the voucher outside either, so set both before you save; without such a rule no tickets can be generatedVoucher › + (Details, Treatment Value); the other rules on Apply Rules › Rules - Doc Hdr once it is savedVoucher; decide type, serials, branches and website before the first ticket
Issue serial numbers under a voucherTicket Management tab › + › Generate Ticket or Import Ticket; Import Tickets for a .csvVoucher; Import Tickets
Find where and when a ticket was redeemed — read the sale from Redeem Document, not the Redeemed Date, which can sit before the saleTicket listing, Ticket Edit › Redeem Document; Voucher Redemption in the Sales Report appletThirty-second check: one voucher, three places
Correct a ticket the system did not update — a voided bill leaves it Redeemed, a sales invoice never marks it; a hand edit sets the status only, so the ticket stays off the Voucher Redemption report unless it still carries an earlier Redeemed DateTicket Edit: set Redeemable Status by handWhat it does not do, and who does it instead
Stop past-date tickets reading Valid — nothing expires them; the till refuses a ticket past its dates, Invalid also stops Finalise, whose clock can lag, and a direct redemption checks neitherTicket Management (Redeemable Date To), then mark them Invalid on Ticket EditWhat it does not do, and who does it instead
Set up voucher items and counter settlement methodsCOUPON item linked on its Voucher Details tab in the Doc Item Maintenance applet; VOUCHER / COUPON settlement methods in the POS General appletBefore you can use it

Overview

The Voucher Management applet is where a marketing or customer-service user defines vouchers — a settlement voucher worth a fixed amount, a discount voucher with a treatment formula, a rewards voucher that awards points, or a product voucher — and the tickets (serial numbers) issued under each one. It generates, imports, assigns, cancels and traces serials, keeps the scan log of ticket-based events, keeps recurring voucher templates (the scheduled run meant to turn them into vouchers creates none today), and links vouchers to CP Commerce websites. The applet is master data: the counter and the storefront redeem a ticket against a sales document, and the ticket’s status changes on that document’s back.

A voucher is one of three ways to reward a customer, and not always the right one. Member pricing, points and a voucher side by side compares them; points are a promise the member carries until it is spent; and a dated promotion that needs no serial in anyone’s hand is a price set with a date range, not a voucher.

Two applets, two builds. Two applets carry this name in the Applet Store: “Voucher Management” (2021) and “Voucher Management Applet V2” (2024). This page documents V2. The older build — Voucher, Ticket and Scanned Event only — is on the companion page Voucher Management. Each installs its own build, so which one you have depends on which you installed.

Where it fits

DirectionAppletHow it connects
UpstreamDoc Item MaintenanceA Voucher item (COUPON item type) records voucher stock in / out; its Voucher Details tab links the item to a voucher header
UpstreamMembership AdminMember classes and member labels picked by the Doc Hdr rules; a birthday gift job, added in the Scheduler with the vouchers to give listed in its settings, can assign vouchers to members on their birthday
UpstreamOrganisation, CustomerCompany and branch rules; a ticket is assigned to an entity, a membership, a login subject or a basic contact
DownstreamPOS General, Sales Invoice (Internal)The counter looks a serial up, lists the customer’s available and redeemable vouchers, and settles or discounts the bill with them (VOUCHER / COUPON settlement types; POS_VOUCHER_INVENTORY changes how the counter tests a scanned serial — see Settings in other applets). The step that marks a ticket Redeemed acts on finalised cash bills and sales orders only; a voucher line on a sales invoice leaves its ticket Unredeemed (see What a sale writes to a ticket)
DownstreamCP Commerce AdminThe website’s Voucher Management tab and this applet’s Website Link tab edit the same website–voucher links; the storefront offers the vouchers linked to it, and a signed-in customer sees their own
DownstreamSales ReportVoucher Redemption report — redeemed serials by date, voucher, branch, document and entity
SiblingSchedulerWhere the coupon processors (serial generation, recurring creation) are put on a crontab

Screens and menus

Sidebar: Voucher, Ticket, Scanned Event, Recurring Voucher, Import Tickets; Settings: Field Settings, Default Selection, Custom Resource Bundle Configuration (the labels the applet’s screens show; added in the build deployed on 2026-10-14), the shared permission listings (Permission Set, User, Team, Role) and Triggers (webhooks); Settings opens on Feature Visibility, which has no link of its own. Personalization lists Field Settings and Default Selection; only Default Selection has a screen behind it.

Voucher

Voucher Listing → + opens Voucher Create with two tabs: Details and, for DISCOUNT, REWARDS and PRODUCT, Treatment Value (DISCOUNT shows the Product and For All sub-tabs; REWARDS and PRODUCT show For All only; SETTLEMENT hides the tab). Rules, images, tickets, website links and audit need a saved voucher: reopen it from the listing.

Voucher Edit has seven tabs, in the order set under Default Selection: Details, Treatment Value (hidden for settlement vouchers), Apply Rules, Image, Ticket Management, Website Link, Audit. Ticket Management, Website Link and Audit load lazily.

  • Apply Rules has three builders — Rules - Doc Hdr, Rules - Multi Line, Rules - Single Line — each with a Rules Logic (And / Or) and a Negation Logic (Enabled / Disabled) selector above the rule grid.
  • Ticket Management shows counts of vouchers generated, assigned and redeemed, then the ticket grid: Serial Number, Assignee, Assigned To, Customer Code, Redeem Invoice No, Redeem Invoice Date, Validity, Cancellation, Redeemable Status, Redeemable Date From / To, Created Date, Modified Date. + opens a three-tab dialog: Generate Ticket (Max Quantity), Import Ticket, Ticket Files Listing. Opening a serial shows voucher code and name, serial number, softpin, assignment and redemption status, dates, and Cancel / Activate buttons.
  • Website Link lists linked website code, name and modified date, with add and remove.
  • Audit lists date, user, action and event code.
  • No screen prints vouchers: the applet carries a batch-print call to the sales-invoice print endpoint, but nothing on its screens uses it. Whoever designs the printed voucher works from the serials on the Ticket Management grid.

Ticket

Ticket Listing columns: Voucher Code, Voucher Name, Serial Number, Redeemed Branch, Redeemable Status, Redeemed Date, Assignment Status, Assigned To, Validity, Cancellation, Created Date, Modified Date. Ticket Create: select a voucher (code and name fill read-only), enter the Serial Number and set Assignment, Validity, Cancellation and Redeemable status. Ticket Edit has Details (adds read-only URL Key, Activation Pin, Created / Modified By and Date) and Ticket History — the serial’s stock trace: Serial Number, Location, Code, Transaction Description, Transaction Date, Document, Server Doc Type, Entity, Reference, Quantity, Amount, MA Cost, Posting Status, Remarks. The history remaps backend descriptions to Stocked in, Awarded to customer and Redeemed.

Scanned Event

Listing: Serial Number, Item Name, Email, Phone, Scan Date, Reward Points, User Type, Status, Remarks, Shipping Address, Attachment. Opening a row shows Details (serial, item, contact details, reward points, user type, status, remarks, activation pin, audit fields; Shipping Address editable for customer-type rows) and Attachment — image records with created / updated dates.

Recurring Voucher

A voucher template meant to be turned into vouchers on a schedule — today the scheduled run creates none (see Recurring vouchers under Lifecycle). Create has Details and Treatment Value; voucher types SETTLEMENT, DISCOUNT, REWARDS; quantity types FIXED and DYNAMIC only. A Recurring ? checkbox reveals a recurrence editor that stores an RRULE; Start Date and End Date bound it. The create form has no Event Period, Redemption Period or website picker. Edit has Details, Treatment Value, Apply Rules, Image — no Ticket Management, Website Link or Audit.

Import Tickets

Upload Master Data: drag and drop a .csv, preview, ADD; a Sample Format link downloads the template (the file is named MasterData_Upload_Category.csv, a name copied from another applet’s import). The listing shows File Name, File Size, Format, Status, Process Status, User Error Message, dates and creator. Opening a file shows Main (file type, name, size, import format, process status, status, error message) and Checking — one row per line with Voucher Code, Serial No, Soft Pin, Validity / Assignment / Redemption / Cancellation Status and a Short Error Message; Voucher Code and Serial No each have an error column (an unknown voucher code, or a serial the voucher already has).

Configuration

Before you can use it

PrerequisiteWhereWhy
Company, branch, locationOrganisationCompany and Branch rules; Default Selection branch / location
A COUPON-type item per voucher that is sold or stocked, linked on its Voucher Details tabDoc Item MaintenanceTicket History is the item’s stock trace; POS scans the item
Member classes and labels, if rules use themMembership AdminDoc Hdr rule types MEMBER_CLASS, MEMBER_LABEL
Websites, if vouchers are exposed onlineCP Commerce AdminAdd Voucher To CP-Com and the Website Link tab
VOUCHER / COUPON settlement methods per branchPOS General → Settlement Method SettingsA settlement voucher is redeemed as a settlement-method line
Coupon API permissions (below) with the user’s targetsSettings → permission listingsCreate, update, read and softpin access

Applet settings

Settings are applet-local: this applet’s own Field Settings screen (not the shared one) and its own Default Selection. Tenant admins change them; Personalization → Default Selection is per user.

SettingScreenWhat it controlsDefaultProofs
ENABLE_MULTIPLE_TICKETField SettingsWhen off, a FIXED voucher that already has one ticket hides the + in Ticket Managementoff (null)rendered, persisted, consumed
ENABLE_EDIT_VOUCHER_CODEField SettingsVoucher Code stays editable after creation; otherwise the control is disabled on editoffrendered, persisted, consumed
DEFAULT_TIMEZONEDefault SelectionTimezone for the Event Period / Redemption Period pickers and the date-range rule formsemptyshown, saved and used
VOUCHER_DETAILS_TAB_ORDERDefault Selection (drag list)Order of the seven Voucher Edit tabs; new tabs are appendedcode orderdeclared, rendered, persisted, consumed
DEFAULT_BRANCH, DEFAULT_LOCATION, DEFAULT_COMPANYDefault Selection / PersonalizationDEFAULT_BRANCH and DEFAULT_LOCATION are saved with the settings and used by nothing outside the settings screens; DEFAULT_COMPANY is never saved, because neither screen has a field for itemptyshown, saved — not used

Field Settings also carries HIDE_VOUCHER_TYPE_REWARD and HIDE_VOUCHER_TYPE_DISCOUNT, which take REWARDS or DISCOUNT out of the Voucher Type list on the create form. Either one also takes out PRODUCT, because the shortened lists were written before PRODUCT existed; with both on, only SETTLEMENT is left and it is preselected. If you sell product vouchers, leave both off. The four Field Settings keys exist only on that screen. The applet’s other settings — the sales-document family (INCLUDE_*, SST / WHT, custom statuses, HIDE_UNIT_PRICE_*, HIDE_*_TAB, employee levels, PRINTABLE …) — were inherited from a document-applet template; nothing shows them and nothing uses them.

Document behaviour settings

Not applicable — vouchers are master data. Behaviour that is fixed in the code is under Lifecycle and effects.

Settings in other applets that control this applet

SettingWhere it is setEffect here
Settlement methods of type VOUCHER / COUPONPOS General → Settlement Method SettingsWhether a settlement voucher can be taken at the counter
POS_VOUCHER_INVENTORYPOS General → Field SettingsChanges the test the counter’s voucher payment applies to a scanned serial; either way only a SETTLEMENT voucher is accepted. Off: the ticket must be unredeemed, valid, uncancelled, activated on or before today, inside its redeemable dates, and assigned (or, for a voucher that allows anonymous use, not assigned). On: the ticket’s serial must be on a sales invoice or cash bill line (that document’s status is not checked) and not already taken as a settlement on a receipt voucher, besides being unredeemed, valid and inside its redeemable dates. Use on when you sell stocked gift vouchers over the counter and accept them later. Either way a serial that fails these tests shows only Invalid Voucher Number!, every serial in one payment must come from the same voucher, and each counts at the voucher’s face value.
Website Voucher Management tab; hideVoucherManagementCP Commerce AdminWhich vouchers a storefront offers; whether the tile is shown on the Webstore dashboard

Feature visibility / permissions

API permissions: TNT_LOG_COUPON_OWNER / ADMIN / MEMBER, TNT_API_COUPON_CREATE / UPDATE / DELETE / READ, TNT_API_COUPON_ENCRYPTED_SOFTPIN_UPDATE / READ; API_TNT_DM_ERP_COUPON_EVENT_* and the API_TNT_DM_ERP_COUPON_LINE_SCAN_EVENT_* family for events and scan events; website links use the CMS coupon-link permissions. No screen in the applet is restricted, the permission screens are the shared ones, and the applet has no client-side permissions of its own.

Fields

Voucher — Details (create; the same fields on edit minus the create-only blocks)

FieldMeaningRequiredNotes
Voucher CodeBusiness keyYesDisabled on edit unless ENABLE_EDIT_VOUCHER_CODE. The code and the Voucher Name are saved trimmed and in capitals, whatever you type; a code already in use is refused with Voucher already Exists
Voucher TypeSETTLEMENT, DISCOUNT, REWARDS, PRODUCTNo (form)PRODUCT added 2026-06; Field Settings can hide DISCOUNT / REWARDS
Face Value AmountFixed valueNoDefault 0; shown for SETTLEMENT
Quantity TypeFIXED, DYNAMIC, IMPORT, INVENTORYNoFIXED shows Total Voucher Ticket To Be Generated (required in the template)
StatusACTIVE / INACTIVE—Default ACTIVE
Voucher Limit Per CustomerHow many tickets a signed-in customer can claim from your web store’s voucher list; the list stops showing the voucher to them once they have claimed that manyNoDefault 1. It is not checked when a ticket is redeemed at the counter or when the bill is finalised
Daily LimitRead only when the till adds a promotion’s free gift by itself: past the limit the till refuses the gift line with Exceeded daily coupon redeem limit.NoShown only for PRODUCT vouchers, and saved only when you edit the voucher: a value typed on the create form is dropped, and 0 typed later does not clear a limit already saved. Default 0, which sets no limit. It is not checked when a cashier redeems a ticket or when the bill is finalised
CurrencyValue currencyNoDefault MYR
Allow AnonymousClaim and redeem without an assigned entityNoTooltip: “Allow the user to claim and redeem the coupon on the Checkout page”
Is Shipping VoucherOffer it against delivery charges onlineNoThe CP Commerce storefront’s checkout lists a ticked voucher in its Shipping Fee Vouchers block and applies it to the cart’s delivery-charge line; the block appears only when the cart carries the website’s shipping-fee item. Nothing else acts on it: the backend only lets a voucher search filter by it, and POS General does not read it
Softpin / Activation Pin / URL Key / PrefixOptional security and serial controls, each with a length (default 6); Prefix adds a prefix code and the serial character length; URL Key adds a URL Redirection ConfigurationNoThe length boxes take 6 to 30 (by their arrows; typing is blocked), and generating serials is also refused when the serial, softpin or activation-pin length is outside 6 to 30
Event Period, Redemption PeriodStart / end date-timesNoCreate form only; shown in DEFAULT_TIMEZONE. Saved as the voucher’s Event Date Range and Redemption Date Range rules, with fixed dates, both starting at today, 00:00 to 23:59: left at the default, every ticket expires tonight. The till tests both rules’ fixed dates against today, so it also refuses every ticket outside the Event Period. A relative Redemption Date Range (Apply Rules) dates each ticket from its generation, but its fixed dates stay at the day it was added, or empty once you edit it: from the next day, or at once after an edit, the till refuses every ticket of that voucher. Tickets take their dates from the first such rule
Add Voucher To CP-ComWebsite multi-selectNoCreate form only; afterwards use Website Link. The links are saved by a second call after the voucher is created, so if that call fails you see Error Voucher Linking while the voucher itself exists with no links — add them on the Website Link tab. Typing in the search box does not narrow the list; scroll it instead (it loads up to 500 websites)

The form also takes a free-text Voucher Name, a Description — the line the CP Commerce checkout prints under the voucher’s name on its voucher cards — and rich-text Terms and Conditions.

Treatment Value. For All: Price Source (Base Quantity, Standard Amount, Price Unit Cost, Net Amount, Transaction Amount), Operator (MULTIPLY, ABSOLUTE, ADD, SUBTRACT), Value, Min Spend, Max Discount Value, Auto Apply to All Child Items; a points block — Customer Points Value, Customer Points Expires Within (days), Retailer Points Value, Retailer Points Expires Within (days), Point Currency. Product: one row per searched item — Item Name, Item Code, Price Source, Operator, Value, Max Discount Value, Min Spend, plus the same points block.

Apply Rules. Doc Hdr rule types: EVENT_DATE (Event Date Range), REDEMPTION_DATE (Redemption Date Range, with a DAYS / MONTHS / YEARS unit), ENTITY_TYPE, MEMBER_CLASS, MEMBER_LABEL, COMPANY, BRANCH, DELIVERY_REGION. Multi Line and Single Line share one list: ITEM, ITEM_CATEGORY, ITEM_CODE_REG_EX, ITEM_NAME_REG_EX, ITEM_CATEGORY_CODE_REG_EX, ITEM_CATEGORY_NAME_REG_EX. Multi Line evaluates across matched lines; Single Line judges each matched line alone. The till’s voucher payment tests only the Event Date Range, Redemption Date Range, Branch and Member Class rules, all of them together whatever Rules Logic says; the other rules do not stop a ticket at the counter.

Ticket. Assignment Status ASSIGNED / UNASSIGNED (a ticket of a voucher that allows anonymous use is created as NA, and becomes ASSIGNED to the bill’s customer when a Finalise redeems it); Validity Status VALID / INVALID (the backend also sets EXPIRED); Cancellation Status UNCANCELLED / CANCELLED; Redeemable Status UNREDEEMED / REDEEMED.

Import Tickets CSV — the columns the importer reads: VOUCHER_CODE, SERIAL_NUMBER, SOFT_PIN, VALIDITY_STATUS, ASSIGNMENT_STATUS, REDEMPTION_STATUS, CANCELLATION_STATUS, CODE, NAME.

Recurring Voucher. As the standard Details minus the date periods, the website picker, Daily Limit, Is Shipping Voucher and Terms and Conditions, plus Recurring ?, Start Date, End Date and the recurrence rule; one treatment form rather than the Product / For All split.

Lifecycle and effects

Master data — no posting. A voucher is not a document: selling, redeeming or expiring one posts nothing by itself, and there is no voucher liability or breakage account. A voucher’s sale, redemption or expiry reaches the ledger only through the sales document it is on, under that document’s own journal.

What a voucher holds. The voucher itself, one ticket per serial number (with its assignment / validity / redemption / cancellation status, redeemable dates, softpin, url key and activation pin), files and attachments, events, import batches, scan events and merchant links; recurring vouchers are kept as templates.

A fourth way tickets come to exist: buying them. Besides Generate Ticket, Import Ticket and Import Tickets, finalising a purchase invoice creates tickets when a line is on a serial-numbered voucher item whose voucher has Quantity Type INVENTORY: one ticket per serial number keyed on the line. It fits voucher stock you buy in with the serial numbers already on it, such as a brand principal’s gift cards.

Each ticket starts Valid, Unassigned, Unredeemed and Uncancelled, with a new activation PIN and the redeemable dates of the voucher’s Redemption Date Range rule. A voucher with no such rule still gets its tickets on this route, with no dates, and the job that marks tickets redeemed needs both dates: give the voucher its date rule before those tickets are used. The ticket records the invoice’s supplier as its entity, unless the voucher has Allow Anonymous ticked, when it records none; a later sale assigns it to the buyer, or marks it NA on an anonymous voucher.

The purchasing job does this only where your tenant’s trigger configuration starts it on FINAL (see Background jobs below), and the invoice finalises whether or not the tickets were written. After every such purchase, check the voucher’s tickets and their dates against the serial numbers on the invoice.

Statuses of a ticket are the four independent flags above; there is no state machine. A ticket’s validity is set to EXPIRED one at a time, or in bulk by the expiry check, which expires every ticket whose redeemable-to date has passed. Nothing runs the expiry check on a schedule: until something calls it, a ticket past its date still reads as valid.

Recurring vouchers. RECURRING_COUPON_CREATION_PROCESSOR is meant to work out each template’s recurrence from its last run (or its start date) and create the voucher as if it had been created by hand, and its own note says to run it no more than once a day. Today it creates no vouchers: it selects only templates whose start date is still in the future and whose end date has already passed, which no ordinary template is, and its due-date test compares the last run with the last run plus the interval while nothing records a last run. Scheduling it is harmless and does nothing. Until that changes, make each period’s voucher by hand, from the same settings (Import Tickets loads serials, not vouchers).

Scanned events. Scanning a QR voucher records a scan event, and later steps update its status and give the reward. The screens are generic; the processing behind them is not, and needs setting up with BigLedger before you use it.

The figures on these screens, and what writes each one

Each figure is either counted live when you open the screen or stored on the ticket by one particular event. Knowing which tells you what a wrong-looking number means.

Figure, and the screenLive or storedWritten by, and when
Vouchers Generated / Assigned / Redeemed (Voucher Edit → Ticket Management)Live: counted from the voucher’s tickets each time the tab opens; deleted tickets are left outGenerated is every ticket, cancelled ones included. Assigned counts only tickets whose Assignment Status is Assigned — a ticket that names a customer but reads Unassigned, or an anonymous one not yet redeemed, is not in it. Redeemed counts Redeemed, however the ticket got there
Redeemable Date From / To (ticket)StoredCopied onto each ticket when it is generated, from the voucher’s Redemption Date Range rule (Apply Rules → Rules - Doc Hdr): fixed dates as entered, or, for a relative rule, from the moment of generation to that moment plus the period. Saving an edit to a fixed-date rule re-dates every ticket of the voucher, redeemed and cancelled ones included; editing a relative rule moves no ticket. A voucher with no such rule cannot generate tickets (see Troubleshooting); a ticket you import or add on Ticket Create gets no dates at all until an existing fixed-date rule is edited and saved; the till’s date test lets it through, but Finalise cannot redeem it
Redeemable Status, Redeemed Date, Redeemed Branch (Ticket listing)StoredThree writers. (1) Finalise of a cash bill or sales order carrying the voucher: status, date, the bill’s branch and location, and the bill itself. (2) A direct redemption (back office, merchant, the storefront’s checkout): status and the time of the call — no branch, no document. The storefront’s own Redeem button writes the status and the customer, and the single-serial call the status (and the customer, if one is sent); neither writes a Redeemed Date. (3) Ticket Edit: the status only, exactly as you pick it; the date, branch and document stay as they were
Redeem Invoice No / Date (Ticket Management), Redeem Document (Ticket Edit)Looked up liveRead from the document the Finalise recorded. Blank after a direct redemption, unless a Finalise redeemed the ticket before: nothing clears that link. Ticket Management shows them only on Assigned tickets
Assigned To (Ticket Management)StoredThe customer the ticket was given to, or failing that the customer it is linked to — which is how a row can show a name and an Assignment Status of Unassigned at once
Validity (ticket)StoredValid at generation. Becomes Expired only through the expiry check or a single-ticket call, and Invalid by hand or by import. The calendar changes nothing
Voucher Redemption report (Sales Report)LiveTickets that read Redeemed and whose stored Redeemed Date falls in your date range, each joined to the bill line that redeemed it (Amount is that line’s amount). It ignores a later void of the bill. The company, branch and location you pick narrow only the bill joined to each row, not the rows: a ticket redeemed on another company’s bill is listed too, with the bill’s own columns blank but its Amount and Branch Code still filled, and one redeemed directly is listed with no bill details at all. A ticket or voucher made inactive drops off the report

What a sale writes to a ticket, and when

The till checks a scanned serial when the cashier takes it, but the ticket does not change then. It changes after Finalise, which is a separate step from saving the bill: Finalise queues one primary job, and that job queues one follow-on job for each processor your company is subscribed to. The coupon redemption job (first in Background jobs below) is one of them. When it runs, it:

  1. acts only if the document is FINAL and is a cash bill or a sales order — a sales invoice, a credit note or any other type is passed over;
  2. reads the document’s voucher lines (redeem lines naming a voucher and a ticket); a PRODUCT voucher must be on a goods line and a SETTLEMENT voucher on a payment (settlement-method) line, or the line is skipped;
  3. unless the voucher allows anonymous use, keeps only tickets assigned to the bill’s customer;
  4. keeps only tickets that are Valid, not Redeemed, not Cancelled, and inside their redeemable dates;
  5. writes Redeemed, the redemption time, the bill and its line, and the bill’s branch and location onto each ticket — and, for an anonymous voucher, the bill’s customer (and member) as the ticket’s owner.

A ticket that fails steps 2 to 4 is left as it was, with no message on the bill. Whether step 1 happens at all depends on the subscription: a company that is not subscribed finalises bills that leave every ticket Unredeemed. Voiding the bill later runs no voucher step: the ticket stays Redeemed against the VOID bill (see the worked situation below).

One thing about the time the processor uses, reported to engineering as a defect: it takes “now” once, when the server process first redeems a ticket after a restart, and reuses that moment until the next restart. So the Redeemed Date can be earlier than the sale — by hours, sometimes days — and the redeemable-date test in step 4 is made against that earlier moment, not the moment of the sale. Read which sale from Redeem Document, never from the date.

Redeeming a serial directly (from the back office, a merchant, the storefront or a signed-in customer) is different: it checks at most that the ticket is not already redeemed (the storefront greys out its Redeem button for a ticket it shows as Redeemed, but the server does not check again) — not the dates or the validity — and the single-serial call also sets the ticket’s redeemable-to date to the moment of redemption. Because nothing moves a ticket to EXPIRED on its own (above), the dates are the only guard on the document path, and there is none on the direct one.

Background jobs: a redemption job (marks the tickets on a finalised cash bill or sales order as redeemed), a selling job and a purchasing job (record the tickets a document sells or buys — selling is what assigns a stocked ticket to the buyer and stamps its activation date), a generation job (makes the serials and softpins for a voucher), the recurring-voucher job and the voucher import jobs. Whether a company’s FINAL starts the selling, purchasing and redemption jobs depends on your tenant’s trigger configuration — treat “automatic on FINAL” as unconfirmed for your tenant, and check a finalised document’s tickets before relying on it. The thirty-second check below is that check.

A worked situation: GadgetSphere’s RM 50 birthday voucher

GadgetSphere sets up BDAY50 for its members: a SETTLEMENT voucher, Face Value RM 50, with an Event Period and a Redemption Date Range of 1 January to 31 December 2026. The dates are fixed on purpose: a relative rule soon makes the till refuse every ticket of the voucher (see Fields).

Issuing it. The birthday job (the member birthday gift processor named under Where it fits, set to gift type voucher and naming BDAY50 in its settings) runs only where a Scheduler clock names it — check Scheduler for one before you announce the campaign. Each run generates one new ticket per voucher for every member record (in the job’s member classes, if it names any, and whatever its status) whose birthday is today, or, unless the job checks daily, in the current month. Three things it does that you need to know before you promise members anything:

  • The ticket carries the member in Assigned To but reads Unassigned, and has no activation date — the two things the till’s voucher payment requires (with POS_VOUCHER_INVENTORY off) of a voucher that does not allow anonymous use. As issued, the till answers Invalid Voucher Number! — a defect against the job’s own purpose. Ticking Allow Anonymous on the voucher before the job runs avoids both for the tickets it issues from then on (tickets already issued stay as they are), at a price: the ticket is then tied to nobody, and anyone holding the serial can spend it.
  • The birthday e-mail gives the member the voucher code (BDAY50), not their own serial number.
  • The job keeps no record of who has had one, so a monthly gift on a daily clock issues a ticket a day; match the clock to the gift’s frequency (Birthday Gift owns the settings).

Redeeming and voiding it. For example, a member holds a ticket the till accepts — Valid, Unredeemed, Assigned to her and activated, which is the state a stocked ticket is in once a sale has handed it to her. On 14 March she buys a flagship smartphone for RM 4,299 at GS-KV-01 and pays RM 50 with the voucher and RM 4,249 by card. At 16:05 a supervisor voids the bill because the wrong colour was rung up.

AfterTicket listing (her serial)Ticket Management countersVoucher Redemption report
Cashier takes the voucher, bill saved, not finalisedUnredeemedRedeemed unchangedNot listed
Bill finalised at 15:40Redeemed; Redeemed Branch GS-KV-01; Redeemed Date possibly before 15:40 (above). Ticket Edit → Redeem Document shows the bill numberRedeemed +1Listed against the bill, RM 50, on the day of the stored Redeemed Date
Bill made VOID at 16:05Still Redeemed, still pointing at the VOID billUnchangedStill listed
You set Redeemable Status back to Unredeemed on Ticket EditUnredeemed — but the old Redeemed Branch, Redeemed Date and Redeem Document stay on the ticket until the next redemption replaces themRedeemed −1Not listed

Giving the voucher back after a void is a person’s decision, not the system’s: the supervisor who approves the void decides whether she keeps the RM 50 for the corrected bill, and makes the Ticket Edit change before the corrected bill is rung up. Whether a void should restore its tickets by itself is a question we have put to BigLedger; until it is answered, treat the restore as a manual step.

Thirty-second check: one voucher, three places

Pick one serial you know was used on a finalised bill this week.

  1. Ticket listing → filter by the serial: Redeemable Status reads Redeemed and Redeemed Branch is the branch on the bill.
  2. Ticket Edit → Redeem Document shows that bill’s number, and the bill itself (in POS General) is FINAL, not VOID.
  3. Sales Report → Voucher Redemption, your company, a date range that starts on or before the ticket’s stored Redeemed Date (step 1): the serial appears once, against that bill.

If all three agree, redemption is running for your company. Unredeemed at step 1 on a finalised cash bill means the redemption job did not run or skipped the line: check the voucher line type and the bill’s customer against the ticket’s; if both are right, ask BigLedger support whether voucher redemption is switched on for your company, because no screen shows it (Troubleshooting). A VOID bill at step 2 means the ticket is still spent unless someone restores it. Missing at step 3 with steps 1 and 2 fine is almost always the date range: the report goes by the stored Redeemed Date, which can sit before the sale. Otherwise the voucher was made inactive, which drops its tickets.

What it does not do, and who does it instead

  • It keeps no voucher liability. If you sell vouchers, the amount you owe holders lives wherever the sales document booked the sale. At month-end, the accounts person counts the unredeemed tickets that were sold, per voucher, times face value, and compares it with that balance. The sold serials come from the sales documents that sold them: the Ticket listing cannot tell a sold ticket from an unsold or gifted one.
  • It expires nothing by itself. The person who runs the voucher campaign sets a monthly reminder: on each running voucher’s Ticket Management tab, look down the Redeemable Date To column, and mark the Valid, Unredeemed tickets past it Invalid on Ticket Edit. Done right, no Valid, Unredeemed ticket is past its date. The till already refuses a ticket past its dates; Invalid also stops Finalise, whose clock can run behind (above). A direct redemption checks neither the dates nor the validity.
  • It has no bulk expiry on any screen. For a campaign too large to do by hand, ask BigLedger support, or whoever runs your API integration, about the bulk expiry check: no screen has a button for it. It is not per campaign: it marks every ticket in the tenant whose Redeemable Date To has passed as Expired, whatever its voucher and whatever its status, so agree that scope before anyone runs it.
  • It does not mark a voucher used on a sales invoice. The clerk who finalises the invoice opens the ticket and sets Redeemable Status to Redeemed. That leaves the Redeemed Date unchanged, so the ticket will not appear on the Voucher Redemption report; note the invoice number in your own records.
  • It does not give a voucher back when a bill is made VOID. The supervisor who voids decides, as in the worked situation.

Related applets

  • Voucher Management — the earlier build behind the other registry row.
  • POS General — where a ticket is taken at the till and redeemed when the cash bill is finalised. Sales Invoice (Internal) — a finalised invoice can sell voucher items, but the redemption step does not mark tickets on an invoice (see What it does not do).
  • Doc Item Maintenance — the COUPON item and its Voucher Details tab.
  • CP Commerce Admin — website links and storefront redemption.
  • Membership Admin — member classes and labels for rules; birthday voucher assignment.
  • Sales Report — the Voucher Redemption report.
  • Scheduler — crontab for the coupon processors.

Troubleshooting

SymptomCauseFix
+ disappears in Ticket Management after the first ticketENABLE_MULTIPLE_TICKET off and quantity type FIXEDTurn the setting on, or use DYNAMIC
Voucher Code cannot be changed on editENABLE_EDIT_VOUCHER_CODE off (default)Field Settings
DISCOUNT, REWARDS or PRODUCT missing from Voucher TypeHIDE_VOUCHER_TYPE_DISCOUNT / _REWARD on — either one also drops PRODUCTField Settings
Setting a ticket’s validity through the API fails with Is Not ImplementedOnly EXPIRED is implemented on serial-numbers/validation/{lineGuid}Set other statuses on the ticket form
Tickets past their redeemable date still show VALIDNothing expires a ticket on a timetable. The bulk expiry check exists only as an API call (serial-numbers/validation/expiry-checking); no screen and no scheduled job runs itMark the tickets Invalid on Ticket Edit (the monthly reminder under What it does not do, and who does it instead), or ask BigLedger support or your API integrator about the bulk check. It marks every past-date ticket in the tenant Expired, not one campaign’s, and needs tenant owner or admin rank, or a voucher update permission
Ticket redeemed at the counter but still UNREDEEMEDThe bill is not FINAL, or is a sales invoice (the redemption step acts on cash bills and sales orders only); the redemption processor is not subscribed for that company; the voucher was on the wrong line type (SETTLEMENT needs a settlement-method line, PRODUCT a PNS line); the ticket is assigned to another customer and the voucher does not allow anonymous use; or the ticket’s redeemable dates did not cover the moment the step tested (see What a sale writes to a ticket)Check the bill’s status and type, its voucher lines and customer, and the company’s job-template subscriptions with BigLedger. To mark this one ticket, set Redeemable Status to Redeemed on Ticket Edit — it will then carry no document and no new date
Redeemed Date is earlier than the sale, sometimes by daysThe redemption step stamps the moment the server first redeemed a ticket after its last restart, not the moment of this sale (reported to engineering)Identify the sale from Redeem Document; start the Voucher Redemption report’s date range at the ticket’s stored Redeemed Date
Ticket still Redeemed after its bill went VOIDVoiding runs no voucher stepIf the customer keeps the voucher, set Redeemable Status to Unredeemed on Ticket Edit before the corrected bill is rung up
Birthday tickets refused at the till with Invalid Voucher Number!The birthday job creates them Unassigned and without an activation date, which the till’s voucher payment refuses for a voucher that does not allow anonymous useTick Allow Anonymous on the voucher before the job issues the tickets, if any holder may spend them (tickets already issued stay refused); otherwise do not rely on the job to issue usable vouchers yet
Generate Ticket fails, or the birthday job issues no ticketsThe voucher has no Redemption Date Range rule (the create form saves one unless its Redemption Period was left empty), and tickets are never generated without redeemable dates (the job fails silently)Add the rule under Apply Rules → Rules - Doc Hdr, then generate again
Voucher or coupon rejected at POSFor a free gift the till adds by itself, the voucher’s Daily Limit is reached (Exceeded daily coupon redeem limit.); otherwise the ticket fails the counter’s tests (see POS_VOUCHER_INVENTORY under Settings in other applets), or the voucher’s Event Date Range, Redemption Date Range, Branch or Member Class rule fails for this bill — a relative Redemption Date Range fails at the till from the day after it was added, or at once after an editDaily Limit on the voucher; the ticket’s statuses and dates on Ticket Edit; fixed dates covering today, and the Branch and Member Class rules, on Apply Rules
Import fails on the Checking tabCSV does not match the nine importer columns, or a serial already existsDownload the Sample Format and match the header exactly
Recurring vouchers never appear, though RECURRING_COUPON_CREATION_PROCESSOR is scheduledThe run selects no template today (see Recurring vouchers)Create each period’s voucher by hand
Event Period dates shift by hoursDEFAULT_TIMEZONE empty or wrongDefault Selection

Related documentation

Last updated on