News for hackers. Stuff that matters.
Re:Ask HN: How to design database schema for usage based bil... by xory on Thursday September 01, 2022 @12:29AM (#32672010)
Avoid building it if you can. Stripe is great. The last billing system I built had a similar schema to yours. As the business grew, we got bigger customers who hated that we just provided a balance due, which was a sum of all debits and credits and not actual invoices they could pay or submit to their finance team for payment. Wrangling recurring charges yourself will unnecessarily take years off of your life.

There are no comments on this comment yet.