Menu

Stripe invoices aren't revenue: how to turn them into ASC 606 schedules with a webhook
📰

Stripe invoices aren't revenue: how to turn them into ASC 606 schedules with a webhook

DEV Community: typescript·Shane·18 days ago
#UJgYXnDn
#devtotypescript#devto#dev#stripe#defrr
Reading 0:00
15s threshold

Disclosure: I work on defrr , the revenue schedule API used in this post.

Stripe is excellent at billing: subscriptions, invoices, payments. They have Revenue Recognition inside their dashboard, but it operates as a closed system with percentage-based volume fees.

This post shows a small way to get that schedule from code instead: take the service period and amount off a Stripe invoice line and ask defrr for the month-by-month schedule. First as a pure calculation, then, if you want it, recorded in defrr as a contract for your finance team to approve. I built it and ran it against Stripe's test mode, and I'll show you what I hit along the way.

This is an example integration, not an official Stripe feature. defrr works out the schedule from the terms you send it; it doesn't connect to Stripe itself.

Background: Under ASC 606 and IFRS 15, a customer who pays $2,400 upfront for a one-year plan has given you $2,400 of cash and $0 of earned revenue on day one.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.