HN user

Rafsark

830 karma

0x581e5735d76c6a884c96f810b0e74f45ff49c33b

YC alumni (S21)

Posts22
Comments104
View on HN
www.swyx.io 2mo ago

Singapore: The Agentic Nation

Rafsark
1pts0
techcrunch.com 3mo ago

At the HumanX conference, everyone was talking about Claude

Rafsark
1pts0
github.com 4mo ago

The enterprise AI race won't be won by the best model

Rafsark
3pts1
github.com 4mo ago

AI Chief of Staff

Rafsark
2pts0
www.dmitry.ie 11mo ago

Why Building Billing Systems Is So Painful (2024)

Rafsark
43pts18
sifted.eu 1y ago

Is any founder happy with their exit?

Rafsark
3pts0
www.osohq.com 2y ago

A Logic Language for Distributed SQL Queries

Rafsark
5pts2
techcrunch.com 2y ago

Lago, Open-Source Stripe Alternative, banks $22M in funding

Rafsark
248pts120
news.ycombinator.com 3y ago

Launch HN: Lago (YC S21) – Open-source usage-based billing

Rafsark
442pts141
github.com 3y ago

Show HN: Lago: Open-source metering and usage-based billing

Rafsark
2pts0
news.ycombinator.com 3y ago

Are AI generated podcasts fascinating or terrifying?

Rafsark
1pts0
github.com 3y ago

Build Powerful Billing Engines with Lago's Open-Source API

Rafsark
3pts0
sifted.eu 3y ago

Startup pivot story, part 2 – Sometimes VCs do give good advice

Rafsark
1pts0
news.ycombinator.com 3y ago

Ask HN: How soon should we have a Design System?

Rafsark
25pts25
github.com 3y ago

Billing System Under AGPLv3 License

Rafsark
8pts2
news.ycombinator.com 3y ago

Ask HN: Is it hard to build a billing engine?

Rafsark
5pts0
www.getlago.com 3y ago

Show HN: 6 Steps to build a usage-based billing system with Lago (YC S21)

Rafsark
3pts0
news.ycombinator.com 3y ago

The tech stack we use to build Lago (YC S21), the open source billing API

Rafsark
5pts1
www.getlago.com 4y ago

Stripe Billing Is Now Open Source

Rafsark
2pts0
twitter.com 4y ago

WDYT: Should we get the hell out of Europe after pivoting?

Rafsark
5pts0
www.getlago.com 4y ago

Engineers need open source to end their billing nightmares

Rafsark
6pts0
www.getlago.com 4y ago

Billing systems are a nightmare for engineers

Rafsark
777pts359

You are right! The issues usually happen when you add more complexity (tiers, discounts, credit notes, coupons, prepaid credits). Also, what I find very tough is that this is not a « one stop shop »: every single company has it’s own definition of what should be included or excluded from the MRR. I am pretty sure you never end up on an universal definition

You’ve got plenty of paid options with Stripe, but here’s the catch: trying to match what you see in the Stripe dashboard with exact cent accuracy using queries is a total headache. in addition, it would be simpler to add an option to pull that data via an API call.

But Amazon uses a custom homegrown usage based billing, not relying on Stripe Billing. This is why Lago exists, to offer a flexible usage-based billing architecture for companies offering usage based or hybrid billing without having to build everything on their own.

What's a fair price for a budget-friendly hosted version? Lower upfront cost, or maybe a revenue share? We've aimed at enterprise deals for the paid edition, keeping the open-source version widely accessible. Keen to hear your thoughts on adjusting our pricing.

What's a fair price for a budget-friendly hosted version? Lower upfront cost, or maybe a revenue share? We've aimed at enterprise deals for the paid edition, keeping the open-source version widely accessible. Keen to hear your thoughts on adjusting our pricing.

(Lago co-founder here.) I guess it depends on how complex your pricing and monetization process are (is it the same pricing for everyone or custom ; is it a simple subscription: or a is there revenue share, transactional pricing, usage-based, tiers ; is it self-serve or sales-led with a quoting system, do you have grandfathered plans, do you need to use other payment processors than Stripe - "Stripe Billing" is only usable with "Stripe Payments").

In some cases, it's "brain dead simple", in a lot of cases it ends up "being much more complex than it seemed".

Related threads: - "Why Stripe doesn't use Stripe Billing": https://news.ycombinator.com/item?id=33191307 - "Stripe's real pricing: a primer" : https://news.ycombinator.com/item?id=33920019

When you don't understand the complexity of billing (revenue ops, top management or marketing), you often end up adding more and more complexity, and engineering teams have no choice. They have to build new billing features

The use case is tiny at the beginning but the complexity increases over time to be honest. The scope is never as narrow as you think at the beginning of the project. Libraries are great, they can help you implement faster, but if the company grows, you will need an entire team to build and maintain it

Not necessarily open source, but there are a lot of third party tools for accounting (netsuite, quickbooks, xero). And I would say they scale 100x better than an in house tool

Navigating this challenge involves the ever-changing boundaries of billing. Initially, you build a monthly billing system, only to find that your team requires a yearly one, which seems relatively straightforward. However, complications arise when you introduce usage-based billing, incorporating weighted values akin to storage, layered on top of a quarterly plan. This complexity is further exacerbated when custom billing structures are needed for negotiated contracts, adding another layer of intricacy to the mix.

How do you know in advance it will grow into a unicorn? I tend to agree with you, but that's a shame to have a team of 30 engineers working only on billing, even if you are a unicorn.. I would prefer to have them working on my product

I think billing, taxes and entitlements are 3 different products, with obviously strong relationships. I would rather give the advice to rely on a third party tax tool that is connected to the billing engine instead of the "all in one" if taxes are too complex. Otherwise, just use the basic tax codes of Lago's billing engine

Marketing teams can sometimes miss the mark on this one. There's a misconception that improving billing is as simple as launching a new marketing campaign, but that couldn't be further from the truth. Billing is a multifaceted aspect of engineering and business operations, and those who solely focus on it often prioritize following industry trends over gaining a deep understanding of the economic intricacies within the company.

It's crucial to bridge this gap in comprehension for more effective decision-making and strategy alignment between the marketing and billing departments. By doing so, we can ensure that both teams are on the same page and working together seamlessly to drive the company's success.

This is completely true. Taxes, entitlements and billing can be 3 different products. I don't understand how people think it's a 3 week effort. Avoiding this separation can lead to a messy setup down the road.

Timezones are not hard to build. It's indeed the interpretation of your app and the display to your end users that are hard to manage. Think of your birthday: it's not hard for you to set a datetime at your current location to define when your birthday starts. But the birthday wished from your friends might changed based on the interpretation they have and where they are located