A partner's voucher or PIN made at payment and printed on the receipt
The customer asks: A partner's voucher or PIN made when the sale is paid and printed on the receipt
- Verdict: Ready, with limits (5)
- Door: Fulfil at sale · area: Till controls and approvals › Payment
- Recipe: Partner fulfil — a code your service makes for a paid sale line
- Sample: none yet
- Checked: run by the product 2026-10-18 (the POS train's walk, phone, counter and tablet frames: the receipt waits then prints the code, down then Try again then print without it, a refusal, a refund refused until the code is cancelled, a cancelled sale's codes voided, offline refused); not run by a kit sample
What you build
A service for the fulfil at sale extension point: after the sale is paid and booked, the retailer's server asks it once per sold line of the items you name (by item group or an item field), and your answer's code prints under the item on the receipt, its reprints and the gift receipt. Before that line is refunded, iVendNext asks your service to cancel the code. The kit's stand-in voucher service (contracts/extension_contracts/standins/voucher_service.py) keeps both promises: the same key always returns the same code, and a cancel wins over any later issue. Check your own service with the kit's conformance test (tools/contracts/tests/test_fulfil_conformance.py, FULFIL_URL).
For a retailer whose items a partner makes, a game card or a top-up PIN: put those items in one item group, name it in the service's settings, and sell each one on its own line; your service issues the code from its own stock of codes, and the face value is the line's list price (face_minor).
Limits
- One code per line: the till sells such an item one per line, and a line of more than one cannot be sold at the till.
- Sold and paid at the till only: refused on a quote, an order, a layaway plan, a held sale and offline.
- When your service is slow or down the sale stands and the receipt waits; the cashier can print without the code and reprint later. A refund waits until the code is cancelled.
- A retailer's own print format prints the code only if it reads it under each item, as the shipped formats do; a receipt sent by text message carries no code.
- A Desk credit note against the day's roll-up invoice is checked by item, not by line: cancel the code first, then raise the credit note.
Tell the customer
The till asks our service for the voucher or PIN as soon as the sale is paid and prints it on the receipt; a refund of that line cancels the code with us first.
What next
- Tell the customer the 5 limits above, and write them into the proposal.
- Start from: Partner fulfil — a code your service makes for a paid sale line.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
- Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.
Test it with your service stopped: the sale stands, the receipt waits, and a refund of the line waits for the cancel.
Related needs
- An account customer's purchase order number, an insured patient's policy number or a contractor's project required at Pay, and nothing asked of other customers — Ready, with limits (8)
- A coupon can be redeemed only so many times in a store — Ready, with limits (3)
- A coupon only a new customer may use, or only customers of one group — Ready, with limits (6)
- A coupon or a loyalty points balance pays no more than part of the sale — Ready, with limits (1)
Start a project shortlist with this need · Put it in your blueprint · Every need