इसे छोड़कर कंटेंट पर जाएं

Fees template (fee and dues collection)

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

Market: Commerce and support (collections).

A WhatsApp agent for tuition and coaching centres, music and dance classes, hobby schools and small private schools that collect a monthly fee from parents. Each month it sends the parent of every student a reminder, with a way to pay, in that parent’s language (Hindi, English, Malayalam or Kannada). The agent works inside limits the owner sets. Its main limit is “never a reminder once paid”, and paid is judged from a payment record, never from what a parent says. How parents pay is the centre’s choice (payment.module): UPI (the default: the centre’s own UPI ID, a QR picture and link in the reminder, and the owner marks each payment received from WhatsApp, so the owner’s mark is the record) or Razorpay (the centre’s own gateway account, a payment link, and Razorpay’s own payment list is the record).

What this folder is, and is not. It is the Fees template, built and checked against stand-in services (a stand-in WhatsApp, a stand-in Razorpay for the gateway option, a model of Guard, and for the approval the real geo-guard binary in front of the Razorpay stand-in). It runs as a server the way Bookings does (one SQLite file per centre, a signed-webhook inbox, an approvals relay), and geometer shop add --template fees starts a centre on a Geometer server. It is not the Geometer engine, it has been run against no real WhatsApp or Razorpay account, and no centre is live on it. Nothing here is a claim about real services.

It has no dependencies (the UPI option needs no account at all). The agent and its tests make no call outside the computer. Most of the code is not in this folder: it is in agents/modules/, shared with Bookings (the runtime server, the inbox, the approvals relay, the payment and refund code, the report frame). What is here is Fees: a student’s fee for a month, its states, its words, its limits, its checks, and the thin files that give the shared code those.

You need Node 26 (any Node with built-in TypeScript type stripping works). There is nothing to install.

Terminal window
# from the root of this repository
node --test templates/education/fees/test/ # the tests
node templates/education/fees/scripts/hand-check.ts # the hand check; add --details to see what was done in each situation
node templates/education/fees/scripts/hand-check.ts --settings templates/education/fees/settings/maths-circle.example.json # the same situations on any centre's own settings
node templates/education/fees/scripts/walkthrough.ts --lang hi # one parent's month, printed (en, hi, ml, kn)
node templates/education/fees/scripts/report-example.ts # a sample monthly report, signed with a throwaway key, into templates/education/fees/report-sample/
node templates/education/fees/scripts/review-sheet.ts ml # the Malayalam review sheet (kn for Kannada), see Languages below
node templates/education/fees/scripts/go-live-certificate.ts --settings centre.json --lang hi --out ./out # the go-live certificate from a hand check on the centre's own settings
node templates/education/fees/scripts/client-report.ts --settings centre.json --record entries.json --dues dues.json --month 2026-11 --lang hi --out ./out --source stand-in --go-live ./out/go-live-certificate.json
node templates/education/fees/scripts/guard-spec.ts --settings templates/education/fees/settings/bright-tuition.example.json --tenant bright-tuition --reviewed-by builder-arjun # the Guard limits spec
node templates/education/fees/scripts/whatsapp-templates.ts # rewrites whatsapp-templates.json, the list to submit to Meta

The hand check prints a count in the product’s words: Held N of M. K failed. J not tested., a line for each situation, and the list of what was not tested. For Bright Tuition Centre, on the Go program (25 Nov 2026, with one more situation: a stranger naming a fee), it is Held 27 of 27, with 12 listed as not tested. “The model is down” runs on the program, which reads every message with its rules (no model step yet), so it asks no model and still answers with buttons. The credit book’s example (Sri Lakshmi Hardware) is Held 5 of 5, Classes’ Held 32 of 32. For Gauss Maths Circle (a second example: no late fee, no waivers, no part payments, English and Kannada) it is Held 24 of 24, with 3 situations named as not run, because that centre’s settings cannot express them. The bundle reads this output (bundle/handcheck.ts), so its shape is shared (modules/crash-test/print.ts).

The hand check runs on the shop’s own Go program (24 Nov 2026, owner: “Run the hand check on Go”). Each situation starts go/bin/fees (build it with cd go && go build -o bin/ ./cmd/fees; on a server, the copy of the programs the shops run, GEOMETER_GO_PROGRAMS) on the shop’s own settings, in fakes mode on the test clock, in front of this template’s stand-ins and the stub Guard (crash-test/go-world.ts over modules/crash-test/go-world.ts and go-shop.ts), and judges from the stand-ins’ records and the program’s agent.db. The script names the program it ran on (ON THE SHOP'S OWN PROGRAM Go fees <version> · sha256:…), and so does the go-live certificate. Without the program nothing runs and the hand check says so; it never falls back to the demo engine, which stays for the public demos only (src/harness.ts). A credit-book shop (decision 63) runs four situations of its own (crash-test/credit.ts: nothing before the owner’s tap, the first question only, a reminder only after the yes at the reminder hour, none after a marked payment). The hand check on Go found that a refund’s word to the parent (done, held, approved, denied, not answered) had no WhatsApp template; it has now.

Every situation is judged from the stand-ins’ own records (what the payments service, Guard’s model and the WhatsApp outbox hold), never from what the agent said. The count is a count of those situations, not a verdict on the agent.

A centre is a folder like clients/bright-tuition.example (settings.json, runtime.json, pathway.lock). On a Geometer server the deploy bundle makes it for you and runs it; by hand:

Terminal window
# in live mode also RECORD_KEY_FILE=<a file of 64 hex digits, openssl rand -hex 32>: the record is written with it, and the runtime refuses to start without it; the deploy bundle makes it
(cd go && go build -o bin/fees ./cmd/fees) # the runtime is the Go program since 0.2.0 (24 Nov 2026: the TypeScript server runtime was deleted; go/TRIAL.md)
INTERNAL_TOKEN_FILE=token.txt go/bin/fees --client templates/education/fees/clients/bright-tuition.example
node templates/education/fees/inbox/main.ts # the inbox: Razorpay's and WhatsApp's signed webhooks in, the owner's replies to the relay (modules/inbox/main.ts lists the environment)
node templates/education/fees/approvals/main.ts # the approvals relay: asks the owner about a refund Guard is holding (modules/approvals/main.ts lists the environment)
  • The runtime (the Go program go/cmd/fees, go/internal/fees) keeps one SQLite file per centre (agent.db in its data folder). Every event the inbox hands it is saved before it is acknowledged, a step is saved whole or not at all, and a restart carries on from what was saved. All of the store is saved, including the day the agent first ran (without it a restart would make the agent believe it had just started, and no month would be chased) and the counters that make the next f-3 and q-2. runtime.json takes the same settings as Bookings’ (parser, decision, ai, allowance, report, …) with services for payments and messaging only: Fees has no calendar.
  • Reminders and the report run on the runtime’s own beat (tickSeconds): the month is opened and the first reminder goes at the centre’s hour on its first reminder day, and last month’s report goes to the owner on the 1st from 09:00 (report/monthly-job.ts, once, even across a crash).
  • Refunds Guard holds. A refund above refund.limitInr is held by Guard. The approvals relay then asks the owner once, in the owner’s language: “Approval needed: refund ₹1,800 for +919844444444 (Rohan Mehta, Nov 2026). Reply “approve K7M2QX” or “deny K7M2QX” within 24 hours.” The amount is Guard’s own; the parent and the student come from the fee the runtime holds (/internal/refund-context, read-only, matched to Guard’s held call). The owner’s reply releases the refund once or denies it. test/approvals-guard-binary.test.ts runs this against the real geo-guard (skipped, with its reason, when the binary is not built). A waiver is not held by Guard (a smaller link is not a refund): above the waiver limit it is the agent’s own question to the owner (“approve q-2”), in the ordinary conversation.
  • Go-live certificate and monthly report from files. scripts/go-live-certificate.ts runs the hand check on the centre’s own settings and writes a signed certificate (the limits in plain words, “Held N of M”, what was not tested); scripts/client-report.ts makes the monthly report from the saved record and fees (--dues), reads the certificate back and says what its checks ran on: this centre’s own settings, the example centre, other settings, or that none was given. There is no monthly record certificate for Fees yet.
  • Start one on a server. node bundle/geometer.ts shop add bright --template fees --upi-id <the centre's own UPI ID> --payee "Bright Tuition" --whatsapp-number-id <id> --prepared-by Divya --company "Sri Sai Digital" (UPI is the default; --payment razorpay instead for a centre with its own gateway account, B71) (the owner then reads “Set up by: Divya, Sri Sai Digital”; without --company, --prepared-by "Divya, local Operator" is taken as written) makes the shop from this template’s example (change the settings to the real centre’s, or give --settings <file>). The bundle gives a UPI centre one Guard (WhatsApp) and a Razorpay centre two (Razorpay, WhatsApp); a Fees centre never gets a calendar Guard or a Google key, and runs this runtime, this inbox and this relay’s words for it. The panel sets a Fees centre up on a phone in the same five steps (the centre with its batches and students, the rules of the month, languages, accounts, checks), makes its go-live certificate and monthly report, and shows its page in four languages. The panel’s form takes at most 6 batches and 300 students; --settings <file> takes any number (Deferred.md).
  • The reminder. On the days the centre chooses (example: three days before the due day, on it, and five and ten days after), at an hour it chooses. It says whose fee it is, for which month, how much, the due date and the payment link. It ends with “Reply STOP if you do not want these reminders.” A parent with two children gets one reminder for each.
  • Buttons. Pay now, I have paid, Talk to the owner. They are WhatsApp reply buttons where the stand-in or provider takes them; a parent can always type instead.
  • “I already paid”. The agent reads the payment record again. If it shows the whole fee, it says so. If it shows part, it says how much is left. If it shows nothing, it says “we cannot see a payment yet”, gives the link, and tells the owner (at most once an hour). It never marks a fee paid on a parent’s word.
  • Part payments, when the centre allows them (from a least amount). The link is for the balance; a link with a part payment on it cannot be cancelled, so a new one is made for what is left, and anything the old one collects beyond what is owed is given back.
  • A discount. The agent never offers one. If a parent asks, it can take off up to the centre’s waiver limit, in all, for one student in one month, and it tells the owner. Above that, the owner is asked for that exact amount on that exact fee at that balance (“approve q-1” or “deny q-1”). If the fee changed since the owner was asked, the yes is not applied.
  • Money back. Never more than a payment on record, and one refund for a payment. A refund a parent asks for goes to the owner to decide. A refund above the centre’s refund limit is asked for through Guard, which holds it for the owner’s one-use code. A payment made twice is refunded once, for the extra, when it is within the limit.
  • STOP ends every message to that parent, with no reply, and no late fee is added for them.
  • A voice note is answered with “please type”.
  • A message for each thing that needs them: an approval, a parent who says they paid with nothing on record, a payment link that could not be made, a message held back, a parent who sent STOP, a parent who asked to talk.
  • The monthly report, on WhatsApp on the 1st from 09:00, once: collected (this period’s fees, and on its own line old dues collected when an earlier unpaid month was paid), still to collect, given back, reminders sent, what was taken off, what the owner was asked, approved and refused, what the limits stopped, and what was not checked. A page behind a link has the whole report, signed, in the owner’s language (see The monthly report).

A typed phone number never opens a student’s fees. When the centre has a page (its pages file), each fee reminder carries the parent’s own private link (https://<the centre's page>/f/<link>, “please do not share it”): it opens only that parent’s children’s fees, with the amounts and due dates, how to pay each (UPI, or the gateway’s link), “I have paid”, and what the centre’s record shows. One link per parent, random, kept by the runtime as a hash only, in the saved state, so it survives a restart and a handover; the same link goes in later reminders while the runtime runs, and a new one replaces the old. The owner can send a parent a new link or switch one off from their own page. “I have paid” asks the owner to look (nothing is marked paid) and gives the parent a confirmation page that says “confirmed” only when the record shows the fee paid. The centre’s own page (/s/<shop>/) only says where the link comes from; there is no API or MCP for fees. The owner’s page lists a fee a parent says they paid (a UPI centre), a refund owed, a waiver or a refund a parent asked for, and the parents with their links; “what needs me” lists the same. How it works: modules/Explanation.md, “Orders and Fees on the page”. Tests: test/channels.test.ts, test/page-link.test.ts.

With an "assistant": {} block in the settings, the owner can also write in their own words, in four languages, and the assistant answers in text: “who owes fees”, “what needs me” (a payment a parent says they made, a refund owed, a waiver or a refund request comes as a card), “message f-3 The class moves to 5 pm”. Anything that moves money, and a message to a customer, comes back as a card with the exact change, done only by a tap; a card’s yes on something waiting is the owner’s own fixed reply (approve/deny), which keeps working as before. “cancel f-3” (the owner takes off what is still owed) and “refund f-3” (money back on a paid fee, above the limit Guard holds it) are cards of the owner’s own, with the agent’s own paths behind them (17 Nov 2026). A short morning line goes to the owner from 08:00. How it works: modules/Explanation.md.

Hindi, English, Malayalam and Kannada, and the Hindi, Malayalam and Kannada people type in Latin letters. A parent is written to in their own language, kept per student in the settings, and changes if they write in another. All messages are fixed templates; every amount, date and name is filled in from the record, and the outgoing check reads the final text against the record before it is sent.

The Hindi, Malayalam and Kannada wording is machine-written and must be read by a native speaker before a real centre sees it. REVIEW-hi.md, REVIEW-ml.md and REVIEW-kn.md list every message, button label, word the agent understands, sentence the hand check types, and every word of the monthly report, made from the code itself (scripts/review-sheet.ts); a test fails if a committed sheet falls behind (node templates/education/fees/scripts/review-sheet.ts hi > templates/education/fees/REVIEW-hi.md, and ml, kn).

A centre is a JSON file (bright-tuition-upi.example.json is the template’s own example; bright-tuition.example.json and maths-circle.example.json are Razorpay centres); the agent reads it and says in plain words what is wrong with it.

Setting What it is
name, address, timezone, languages The centre’s name (said in messages), where it is, the time zone for dates and reminder hours, the languages parents are written in (the first is the default)
batches Each class or batch: an id, what parents call it in each language (the first is what the agent says) and the monthly fee in whole rupees
students Each student: name, the parent’s WhatsApp number, the batch, and the parent’s language (left out: the centre’s first language)
due The day of the month the fee is due (1 to 28) and the grace days before a late fee
lateFeeInr Added once, after the grace days, if the fee is still unpaid. 0: none. Never more than the cheapest fee
joiningMidMonth What a student whose joined date is after the 1st owes for the joining month: usual (the default: joined is ignored, as before), full, prorata (the days left as a share of the month, whole rupees) or nextMonth
a student’s joined, backDues The day the student joined (2026-11-18), and earlier months still unpaid when the agent started ([{"month": "2026-09", "amountInr": 1500}], at most the batch’s fee), each carried as a fee of its own
classes.oldDuesStopLink Classes only. false (the default): a carried back due does not stop the class link or the reading material, only the student’s ordinary fees do. true: a back due past its grace days stops them as an ordinary fee does
reminders Days from the due day (negative is before), the hour (6 to 21), and the most reminders for one fee in a month
partPayments Whether a parent may pay part, and the least a first part may be
waiver.limitInr The most the agent takes off one student’s month on its own. 0: every request goes to the owner
refund.limitInr The refund the agent may ask for on its own (an overpayment); above it Guard holds the refund for the owner. It is the same number Guard’s threshold is made from
payment How parents pay. {"module": "upi", "upi": {"id": "brighttuition@oksbi", "payee": "Bright Tuition"}} (the default: the centre’s own UPI ID, marked paid by the owner; bright-tuition-upi.example.json) or {"module": "razorpay"} (the centre’s own gateway account, through Guard). A file without the block is refused and asked for the UPI ID
owner The owner’s WhatsApp number and language
approvers Optional: others who approve a refund Guard holds (a teacher, a partner), each from their own phone: people (1 to 6 of {"id", "whatsapp", "language"}) and twoAboveInr (above it, two different people must approve). Left out: the owner alone
  1. A reminder only if the record shows the fee unpaid and could be read. If the payment record (Razorpay’s list, or the owner’s marks on a UPI centre) cannot be read just now, no reminder goes out (no-reminder-once-paid).
  2. At most so many reminders for one fee in a month (reminder-cap).
  3. A payment link is for what the record says is still owed, and nothing else (fee-link-matches-record), and Guard bounds a link to a range from ₹1 to the dearest fee with its late fee.
  4. A waiver above the limit is the owner’s call, for that exact amount; never more than what is owed (waiver-limit).
  5. “Received” and “nothing more is due” go out only when the payment record shows the money (paid-only-when-recorded).
  6. A refund is never more than the payment, one per payment (refund-limit, one-refund-per-payment); above the limit the owner approves.
  7. A message matches the record (message-matches-record) and no message follows STOP (opt-out).
  8. No payouts, no matter who asks (Guard).

The limits are pure functions (src/limits.ts) so Guard can run the same ones. scripts/guard-spec.ts writes the Razorpay limits spec for a Razorpay centre’s settings (a UPI centre has no payment API for Guard to sit in front of).

report/ makes the same three layers as Bookings: the owner’s five lines, a printable page in the owner’s language (or Hindi and English together), and signed data, all counted from the action record and the fees as they stand (report/data.ts). Collected is the sum of payments read back from Razorpay’s own list, each counted once; a number that cannot be counted is listed under “not counted”, not guessed. The monthly job is the shared one (modules/report/monthly-job.ts): once, even across a crash, from 09:00 on the 1st, as a template when the owner’s window is closed (fee_monthly_report, fee_monthly_report_innovator) and as plain text when it is open. The Innovator badge is a line of its own. Check a Fees report file with Bookings’ scripts/verify-report.ts: it reads any signed Geometer document.

sell/guide.en.md (and .hi, .ml, .kn) teaches a local Operator or a builder to pitch it, and sell/one-pager.en.html is the sheet the owner keeps. The demo in section 4 is scripts/walkthrough.ts: there is no phone demo for Fees yet. test/sell-guide.test.ts holds the guide’s numbers and quotes to the real hand check and walkthrough. The Fees price is the Business plan’s (see the guide’s section 6).

A classes block in the settings turns the same package into Classes: a timetable, the class link sent shortly before each class only to students whose fee is paid or within the grace days, private reading material per batch, attendance marked by the teacher in one tap, a short note to the parent when a child misses a class, and doubts handed to the teacher. Fees (money, reminders, the report) is unchanged and shared. Without the block nothing of it runs. See settings/bright-tuition-classes.example.json, the Classes section of Explanation.md and the Classes rows of Deferred.md.

The credit book (a variant, 24 Nov 2026, decision 63)

Section titled “The credit book (a variant, 24 Nov 2026, decision 63)”

A creditBook block in the settings turns the same package into the shop’s khata: who owes what, for a hardware, electrical or spares shop (the shop starter’s first job). Each person’s debt is one open fee (batch credit), so the payment record, the owner-marked UPI, the cash mark, reminders that stop on a recorded payment, refunds, the books and the report are Fees’ own: there is no second ledger. Without the block nothing of it runs. Example: settings/hardware-credit.example.json; the panel’s preset “Hardware or electrical shop: credit book” sets it up in one sitting.

  • The owner writes the book in words, on WhatsApp or in the box on their page, in any of the four languages: “Ramesh owes 2,400”, “Ramesh paid 1,000”, “who owes”, “ask Ramesh”. A name the book does not know waits for its WhatsApp number (typed: “Ramesh 98450 12345”); the number stays in the shop. Read by rules alone, never by a model; a message with a number the book cannot place gets the book’s help line and is never handed to the assistant.
  • Nothing reaches a customer before the owner’s tap. The tap (“Ask Ramesh”, or “ask Ramesh”) sends one message: what the book shows, and whether reminders on WhatsApp are fine. Reminders go only after the customer’s yes; “no” or STOP ends every message. A customer who writes first gets nothing about the account, and the owner is told.
  • Cash at the counter is the owner’s mark (“Ramesh paid 1,000”), recorded as marked paid by the owner, never as a confirmed payment. A UPI payment counts only when the owner marks its request received; a gateway’s only from the gateway’s own list.
  • Reminders go at most every remindEveryDays (7) at the reminder hour, and at most reminders.maxPerMonth in a calendar month (an account runs across months); a part payment leaves a reminder for the rest; once the record shows the account paid, none.
  • Who owes what is the owner’s alone: their WhatsApp list and the credit section of their page (names, never numbers); no customer, page or report lists it.
  • maxPerPersonInr is the most one account may show, because a payment link is never for more (Guard’s bound). It is not a credit ceiling (E4, not approved).
  • The monthly page counts what was owed at the month’s start, what was paid after a reminder, the credit reminders sent, and the reminders after a recorded payment (0).
  • Words are an adult’s about their own account (src/credit/words.ts), four languages, machine-written and on the review sheets.

The runtime is the Go program (go/internal/fees/credit*.go); the contract is contract/credit.contract.test.ts. What is left open: Deferred.md, “The credit book”.

Asked from another number, and where a UPI refund goes (25 Nov 2026)

Section titled “Asked from another number, and where a UPI refund goes (25 Nov 2026)”
  • Someone writes from a number that holds no fee and names one (“f-3”, “fee 3”, a receipt’s number, a payment id the record holds, or the UPI reference a customer typed): they get one line saying the shop cannot show that fee to this number and the owner has been told, with nothing of it in it (no amount, name, time or number). The owner gets one notice, at most once an hour for that number and fee, as the WhatsApp template owner_fee_asked_elsewhere: “Someone at asks about f-3 (… <the fee’s own number>). Check before you help.” Nothing about the fee changes and no money moves. A reference the shop does not hold gets the usual answer and the owner hears nothing, so guessing references gives nothing away. The record line is case_asked_elsewhere with the fee in refs.case (its booking stays empty, so the fee’s own lines stay its customer’s). The word form (“fee 3”) is read only when nothing else in the message was; the short form and a payment id are read always. Shared code: modules/record/case-asked.ts (Go: go/internal/runtime/caseasked.go). The credit book does the same for its accounts, in an account’s words (credit_case_other_number, the owner’s owner_credit_asked_elsewhere); its runtime is the Go program only, like the rest of the credit book.
  • A UPI refund goes back to the account that paid, which may be a family member’s: the owner’s message names the payment by the note its UPI link carried (the request’s reference), its amount and the day the owner marked it (“Refund to send: ₹500 back to the account that paid you ₹500 on Tue 3 Nov with the note f-3 …”); the customer’s number stays as the person the agent tells. New template names, because a changed body needs Meta’s approval again: owner_fee_upi_refund_to_account and owner_fee_upi_refund_account_reminder (were owner_fee_upi_refund_to_send and owner_fee_upi_refund_reminder); the credit book’s owner_credit_refund_to_account and owner_credit_refund_account_due (were owner_credit_refund_owed and owner_credit_refund_due). The old names stay registered and unused.
Path What
src/agent.ts The agent: one event in (a message, a payment event, an approvals answer, a tick), done, back
src/due.ts A student’s fee for a month as a state machine (open, paid, closed), and the conversation store (with each parent’s link as a hash, item 11h)
src/channel.ts Item 11h: what the centre’s page, a parent’s private page, a confirmation page and the owner’s page read
src/limits.ts, src/guard-limits.ts The pure limits; the Guard spec made from the settings
src/settings.ts The settings and their checks
src/language/ The templates in four languages, the buttons, the Meta template list, the outgoing check’s facts
src/adapters/ The rule parser (words about fees), the intent type, the reader that uses the shared understanding steps
src/harness.ts The agent on the stand-ins, with a clock you can move, and the parent, the payment provider and the owner as helpers
crash-test/ The 27 situations (situations.ts), what the scripted parents write (says.ts), the plan for running them on any centre’s settings (shop.ts), and the not-tested list
report/ The monthly report and the go-live certificate: data, owner text, page, WhatsApp message, signing, the monthly job, the example month, the certificate, reading it back
server/ What the deployer and the panel read of a centre’s folder: config (runtime.json checked), store (SCHEMA_VERSION, read by geometer update), snapshot (every field of the store). The runtime is the Go program go/cmd/fees since 0.2.0
inbox/, approvals/ The inbox’s and the approvals relay’s entry points; the relay’s Fees voice (approvals/relay.ts)
standins/ The Razorpay and WhatsApp stand-ins over HTTP, for the local stack and the end-to-end test
clients/ An example centre’s folder (bright-tuition.example)
template.json What the bundle and the panel read to offer Fees: its id, its steps, the accounts it uses (WhatsApp and Razorpay; no calendar)
scripts/ Hand check, walkthrough, report example, review sheet, Guard spec, Meta template list, local stack, go-live certificate, client report
settings/ Three example centres: UPI (the template’s example), and two Razorpay
sell/ The sell guide and the owner’s one-page sheet, in four languages
whatsapp-templates.json The list to submit to Meta: the fee and owner templates (with item 11h’s three reminders that carry the parent’s private link, and the new-link message) and the report templates, each in four languages
test/ The tests

As one part of a shop of several parts (decision 65)

Section titled “As one part of a shop of several parts (decision 65)”

A Fees centre, and in the shop starter its credit book, can be one part of a shop that also runs Stock orders and the pickup hold behind one number (templates/commerce/parts). Nothing in its rules changes: go/internal/fees/part.go says, by its rules alone, which messages and cases are its own (its q- requests, a mark code in its own ledger, the credit book’s words and Ask button, someone in the book or with fees, a picture from them), and wire.go is its program’s wiring, which the parts program reuses. Its contract suite runs through the parts program too: CONTRACT_PARTS=first node --test --test-concurrency=1 contract/.

See Deferred.md. The ones to know first: nothing has been run against a real WhatsApp or Razorpay account, so no centre is live; a waiver is not held by Guard (it is the agent’s question to the owner); no monthly record certificate; no phone demo; on a UPI centre the Razorpay situations are listed as not run and seven UPI situations run instead; cash and bank transfers are not handled; the Malayalam and Kannada wording is not yet read by a native speaker.

Everything above was run on stand-in services. “Held 27 of 27” means 27 situations were tried and the stand-ins’ records showed the limits held in them. It does not mean the agent is right in a real centre, and it says nothing about situations that were not tried. No word in this folder is a promise about what will be collected.

The shared modules Fees uses, from its code’s own imports: accounting/, approvals/, assistant/, channels/, core/, crash-test/, demo/, inbox/, language/, licence/, limits/, messaging/, papers/, payments/, qr/, record/, reminders/, report/, runtime/, standins/, terms/, understanding/, unfinished/, voice/.

What each one does and what a template hands it: the table in modules/README.md. A new template uses the same modules the same way.