The billing logic you always end up rewriting