Fresh Produce: Credits and invoice UI updates

Following on from our earlier post about credits, we’re back with some actual billing page UI updates!

Previously, for each individual invoice line item, you might’ve also had an additional line showing the consumption of a credit, e.g. (using tables for accessibility):

Item Amount
Machines Shared CPU 1x $1.32
Included Usage: May 2024 - Jun 2024 applied $(1.32)
Machines Shared CPU 2x $1.78
Included Usage: May 2024 - Jun 2024 applied $(1.78)
Machines Additional RAM $8.93
Included Usage: May 2024 - Jun 2024 applied $(8.93)
Amount Due $0.00

This is visually busy, so we collapsed all lines relating to the same credit into a single line, which is placed at the bottom of the invoice after the subtotal line, which we’ve also added. The accounting-style parentheses for negative amounts were replaced with a minus sign, which is more familiar.

So the above should now look like:

Item Amount
Machines Shared CPU 1x $1.32
Machines Shared CPU 2x $1.78
Machines Additional RAM $8.93
Subtotal: $12.03
Included Usage: May 2024 - Jun 2024 -$12.03
Amount Due $0.00

In addition, we’ve added an Active credits sidebar, which will show you how much you’ve consumed of each of the various credits you have. Here’s a sample this card from one of my organisations:

close-up of the active credits sidebar in the dashboard showing 3 different credits each with various amounts consumed. The heading is the name of the credit, e.g. Free Machine Allowance (3 shared-cpu-1x 256mb), the label is the amount of credit consumed, e.g. $2.00 / $6.00 (33% Used), and there is a progress bar below the label as a visual indicator of how much credit is remaining.

Postscript

We’re currently in the middle of a big billing system migration, so there are some organisations on the old system and some on the new. These changes are specific to the new system, so if your billing page looks the same as before, hold tight - we’re working to migrate your organisation ASAP.

8 Likes

Is there anything in the roadmap about exporting to CSV and/od grouping by App?

I’d like to have a summary of the costs by App instead of by Organization only.

We are working towards better breakdowns of your billing as quickly as we can:

We’re definitely planning to break invoices down by both org and app.

Export in some form is under consideration. We want to make it possible for people to build platforms on top of us. Given this, we intend to provide some way to extract a “by org/app” breakdown of costs from fly.io, we just haven’t figured out quite what form that will take yet.

2 Likes