← Home  •  Русский

System logic: consumer, supplier, goods, money

How requests, pre-orders, orders, discounts, payment, receipts, returns and product batch recalls work in the system.

1. Participants and objects

ObjectWhat it is
ConsumerA buying household: a family, an organisation, a shop buying for its own needs.
SupplierA trading household that sells goods. A producer describes the products that suppliers then sell.
TontegA concept of the system, for example "boiled sausage", with a formula of characteristics. It is the common language of consumers and suppliers.
Producer's productA specific product: barcode, characteristics, unit conversion factors (pieces, kg, m², m³).
OfferA product at a specific supplier: price, price rules, delivery terms.
RequestThe consumer's list of needs expressed in tontegs.
OrderEverything chosen from one supplier.
Order lineProduct, quantity, price, requested and granted discount.
PaymentA money movement on an order: payment (+) or refund (−).
ReceiptConfirmation of payment from the supplier's cash register, with the order lines.
BatchOne delivery or production run of a product: number, date, best-before date.
ReturnA document inside an order: goods and/or money moving back.

2. Main path: from a need to a receipt

Consumer
Supplier
RequestNeeds in tontegs. The system finds offers of the suppliers the consumer has accepted.
ChoiceA specific product of a specific supplier.
Pre-order"Issue orders"One pre-order per supplier. A discount request can be added.
NewReceives the pre-orderChecks the lines, the discount request, availability.
If the supplier changes the lines or grants a discount, the order goes back to the consumer as a new version of the pre-order. The consumer agrees and sends it again.
Accepted for workAccepts the orderThe amount to pay becomes final. Payment terms are agreed: prepayment or cash on delivery.
markPaymentWith prepayment: marks "paid" — amount, method, from which account, expense category. With cash on delivery the payment is made on receipt.
markReceiptThe cash register issues a receipt in exchange for the payment; it also reaches the consumer's app.
Being deliveredDispatchDelivery (waybill number) or pick-up. With cash on delivery the parcel comes with a delivery note (pre-receipt).
CompletedReceives the goodsWith cash on delivery: inspects, pays the courier or at the pick-up point, gets the receipt.
markMoney receivedThe supplier confirms the money has arrived; with cash on delivery — once the carrier has transferred it.
An order has three independent lines: state (where the goods are), payment and delivery. Payment and receipt are marks, they do not change the order state. So an order can, for example, be on its way and already paid, or be completed and paid on receipt.

3. Money

The main rule: money moves only through payments, "+" and "−" records attached to the order. At any moment it is clear how much was paid, how much was refunded and what the balance is.

EventWhoWhat is recorded
Payment termsSupplierWhen accepting the order for work: prepayment or cash on delivery (payment on receipt).
PaymentConsumerAmount, method (card, transfer, cash, cash on delivery), from which account, expense category ("household", "business"…).
ConfirmationSupplier"Money received". For an online card payment the bank does this automatically; for cash on delivery, after the transfer from the carrier.
ReceiptSupplier's cash registerA receipt with the order lines; the receipt number is stored in the order.
RefundSupplierA negative payment linked to the return of goods, with a refund receipt.

4. Delivery and cash on delivery

With cash on delivery the consumer pays only after seeing the goods: to the courier or at the carrier's pick-up point, usually with the carrier's fee.

Documents

What happenedGoodsMoney
Received and paidOrder "Completed"Payment on receipt (+ carrier fee), receipt; the supplier marks "money received" once the carrier has transferred it
Refused on receiptThe parcel goes back to the supplier, order "Returned"Nothing was paid; who pays for shipping both ways follows the supplier's rules
Partial acceptancePart taken, the rest goes backPayment only for what was taken; the rest becomes a return
Prepaid, but refused on receiptGoes back to the supplierA normal refund
Parcel lost or destroyedOrder "Lost in delivery"With cash on delivery the consumer pays nothing. With prepayment the supplier refunds or ships again and settles with the carrier itself (claim up to the declared value)
The declared value of the parcel should equal the order amount — otherwise the supplier loses the difference if the parcel is lost.

5. Returns

A return is a separate document inside the order, not just a mark on the whole order.

Requested→Accepted by supplier / Rejected→Goods received by supplier→Money refunded (refund receipt)
CaseGoodsMoney
Full returnAll lines in fullThe whole amount
Partial return of goodsSome lines or part of a quantity (e.g. 2 of 5 kg)Proportionally, taking the line discount into account
Partial refund without goodsNone (markdown, short weight, a defect not worth sending back)An agreed amount
Cancellation before payment—No money movement, the order is "Canceled"
Cancellation after payment, before hand-overStock is not affectedFull refund

6. Product batch recall

For example, a defect is found in a batch of a food product.

Recall announcedProducer or supplier: "Batch No. X of product Y is recalled, reason…"
Search by receiptsThe system finds everyone who bought the product from this batch.
Consumers notified"Do not use it, return it — your money will be refunded."
Removed from saleOffers with this batch are hidden at all suppliers.
Automatic returnA return with the reason "Batch recall" is created for every affected order.
For a precise recall the batch number is stored in the receipt line. Without it only the whole product could be recalled from everyone.

7. Notifications

At registration, and later in the profile, the consumer chooses how to receive notifications: e-mail, SMS, Telegram or the mobile app (Android, iOS). Signing in stays by phone number. Passwords, order changes, receipts, returns and batch recalls come through the chosen channel.

8. Natural next additions

Feedback

What caught your interest in this scheme, what would you change or add? Write to us and we will reply to your e-mail.