06 · Money flow: admin price form → stored rate (tax-inclusive) → locked price → discount → charge → invoice → revenue (14 Oct 2026)

06 · Money flow: admin price form → stored rate (tax-inclusive) → locked price → discount → charge → invoice → revenue (14 Oct 2026) An architecture diagram generated by Archify. Admin plan form · base USD/INR, disc%, tax% · Architecture component Admin plan form base USD/INR, disc%, tax% calculatePrice() · base × (1−d) × (1+t) · Architecture component calculatePrice() base × (1−d) × (1+t) Plan rate columns · per asset / month, disc+tax in · Architecture component Plan rate columns per asset / month, disc+tax in lockedPriceAmount · rate × assets × months · Architecture component lockedPriceAmount rate × assets × months − discount per cycle · resolveCycleChargeAmount · Architecture component − discount per cycle resolveCycleChargeAmount Gateway charge · USD Stripe, INR Razorpay · Architecture component Gateway charge USD Stripe, INR Razorpay Coupons page · fixed amount: select INR / USD · Architecture component Coupons page fixed amount: select INR / USD Promotions page · auto-applied windows · Architecture component Promotions page auto-applied windows sendQuote() · single-use QUOTE coupon · Architecture component sendQuote() single-use QUOTE coupon Selected discount · customer picks one · Architecture component Selected discount customer picks one Plan price push · super admin, plan-wide · Architecture component Plan price push super admin, plan-wide fxRate · Frankfurter, Redis 1h · Architecture component fxRate Frankfurter, Redis 1h Invoice · gross / discount / paid total · Architecture component Invoice gross / discount / paid total Payment · amount, amountUsd, amountInr · Architecture component Payment amount, amountUsd, amountInr Admin dashboard · Total Sales, native split · Architecture component Admin dashboard Total Sales, native split Plan details · revenue per plan · Architecture component Plan details revenue per plan Checkout Total · inclusive of all taxes* · Architecture component Checkout Total inclusive of all taxes* Currency check · fixed INR / USD only · Architecture component Currency check fixed INR / USD only discountOnPrice · % follows price, fixed stays · Architecture component discountOnPrice % follows price, fixed stays invoice_sequences · CMD number, atomic per day · Architecture component invoice_sequences CMD number, atomic per day at signup amount + cycles next cycle webhook both legs SUM stored legs same number Legend Admin / customer UI Server computation Stored value Defect Gateway / FX API