Hub 2.0 step 4: billing per customer
- One invoice per customer per period for all its products; the schedule moves from Licence to Customer (migration copies it, so billing carries on unchanged); licences get billedFrom / billedUntil - Website (R99, 5 GB) and App (on active members) prices next to the Events tiers; founding prices per product, then bundles (15% two, 25% three); extra website storage R20 per 5 GB, never discounted - A product added to a billed customer starts after its free month; days before its first full period are prorated, never charged twice - Annual review per product (Events income, App members), one notice of licence change per product; invoices, PDFs and emails name products - Customer page: schedule, per-product billing, next-invoice preview - Invoices from before 2.0 kept as they were (still recalculable) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,10 +31,7 @@ function productOfKey(key) {
|
||||
|
||||
const isProduct = p => PRODUCTS.includes(p);
|
||||
|
||||
/**
|
||||
* Products that can be invoiced. Until billing per customer (Hub 2.0 step 4) only Events has
|
||||
* prices; Accounts is never invoiced.
|
||||
*/
|
||||
const BILLABLE = ['events'];
|
||||
/** Products that are invoiced (Accounts is free and never invoiced). */
|
||||
const BILLABLE = ['events', 'website', 'app'];
|
||||
|
||||
module.exports = { PRODUCTS, PRODUCT_NAMES, KEY_PREFIXES, BILLABLE, productOfKey, isProduct };
|
||||
|
||||
Reference in New Issue
Block a user