Skip to content
Shahid Malla

Custom Billing Systems

Usage-Based and Metered Billing

Bill for API calls, storage, minutes or seats: usage import, rating rules and an invoice preview before anything is charged.

Shahid Malla

Shahid Malla · Top Rated on Fiverr and Upwork
600+ Fiverr reviews, 4.9 average · 13+ years · 900+ projects

LaravelUsage rating rulesQueue workers

About this package

This package adds usage-based billing to a SaaS, API, telecom or cloud service that charges for what customers consume, such as API calls, gigabytes stored, call minutes or active seats: usage comes in, rating rules turn it into money, and you see an invoice preview before anyone is charged. It works with a custom billing system or an existing Laravel app, and with any gateway, which is the difference from the Laravel Stripe Billing package, where metered usage is reported to Stripe and Stripe does the pricing.

From raw events to an invoice line

Usage arrives as a CSV upload or through an API endpoint your app calls. Each record carries an event ID, so a file sent twice or a retried request is counted once. At period close, the rating step groups usage per customer and metric, applies the price rules and writes invoice lines such as "48,200 API calls above the included 25,000".

  • Starter rates one metric at a flat price per unit.
  • Business adds tiered and volume pricing, included allowances with overage, and contract prices for individual customers.
  • Premium adds prepaid credits, minimum monthly commitments and re-rating of a closed period when a price was set wrong.

Checking the numbers before customers do

The preview shows each customer's draft invoice with the usage behind every line, so finance can spot a spike before it becomes a dispute. Customers see their running usage in the portal, and on Business they get an email when they pass thresholds you set, which is kinder than a surprise bill.

Where the limits are

The quality of the bill depends on the quality of the usage data. I build the import, validation and rating; producing accurate usage in your app or network stays with your team, and I flag gaps I find in the samples you send.

Compare packages

Package Starter$799 Business$1,899 Premium$3,999
Usage metrics 1Up to 4Up to 10
Invoice preview
Customer usage page
Tiered and volume pricing –
Allowances and overage –
Per-customer contract prices –
Prepaid credits and minimums ––
Re-rating a past period ––
Delivery time 12 days24 days40 days
Revisions 235

What I need from you

After you pay, a project opens for your order. Send these there and the delivery clock starts.

  • Your price sheet: metrics, units, tiers, allowances and rounding
  • A sample of raw usage data as a CSV export or API response
  • Where usage comes from: app database, logs, a provider API or meters
  • Three or four invoices you calculated by hand, to test against
  • Access to the billing system or Laravel app this connects to

About the developer

Shahid Malla

Shahid Malla

AI agent and AI chat developer, full-stack developer

Top Rated on Fiverr and Upwork

Based in
Kashmir, India
Experience
13+ years
Projects
900+ delivered
Languages
English, Hindi

I have built websites, WHMCS modules and web apps for clients since before AI coding tools existed. Today I build with AI-assisted tools and review every change myself, which is why fixed prices here are lower than an agency's for the same scope. I work while the US, Canada and Australia sleep, so each morning there is progress on your staging link.

Read my 600+ Fiverr reviews · Upwork profile · Portfolio · About me

Questions about this package

What happens if usage arrives late or twice?

Each usage record carries an ID, so a duplicate is ignored and logged rather than charged. Late records for a closed period go into a review list; you choose to bill them on the next invoice or drop them. On Premium the closed period can also be re-rated and a correcting credit note issued.

How do you prove the rating rules are correct?

I turn the invoices you calculated by hand into automated tests, and the rating code must produce the same totals before launch. Every rule change after launch runs against those tests again, so a new tier or price cannot quietly change older contracts.

Can I offer a free allowance and charge only for overage?

Yes, on Business and Premium. Each plan gets an included amount per metric, such as 10,000 calls or 50 GB, and only usage above it is rated. Allowances can reset monthly or roll over if your terms say so, and the invoice shows both the included and the billable amount.

How ordering a package works

  1. 1

    Choose a plan

    Pick Starter, Business or Premium and pay once by card, PayPal or crypto. The price on the page is the price.

  2. 2

    Send your content

    A project opens for your order. Send your text, logo, photos and any logins I need there.

  3. 3

    I build it

    I build on a private staging link you can open on your phone, with updates as I go.

  4. 4

    Launch and handover

    After your approval the site goes live on your domain, and every login is yours.

One-time price, no monthly fee from me

You pay for the build once. Your domain and hosting are registered in your name and renewed with your hosting provider, who bills you directly. I add nothing on top, and the site keeps running whether or not you hire me again.

What I do not build

Gambling and adult websites, and sites that sell content without the rights to it. Need something not listed? Ask for a custom quote.

All custom billing systems · All package categories