Skip to content
Neruba
Usage pricing, credits, and subscriptions
OverviewWhat Neruba owns, who it fits, and what to inspect first.CapabilitiesInspect ingest, billing runs, balances, payments, and operator workflows.
Compare
Pricing
DocsJump to quickstart, examples, operations, and rollout guides.API examplesCopy auth, setup, ingest, credits, and billing-read request flows.ImplementationMap rollout sequencing, migration work, and launch readiness.Engineering NotesUse the technical lesson sequence when the team needs the patterns first.
Trust
Plan your rollout
← Back to all engineering posts
8 min read

Usage billing with late events

Customers do not care whether delayed usage came from retries, offline clients, or a stuck batch job. They care that their invoice stays fair, that corrections stay visible, and that you can explain what changed.

On this page
Correction diagramKeep raw usage immutableDefine recomputation rulesProtect the money path

See how a delayed event should move through the system

Late usage should trigger a visible correction path instead of a hidden edit to a closed invoice.

Inline engineering diagram
At a glance

How a late event becomes an explicit correction

Late events should produce a visible correction path instead of a hidden edit to an already-issued invoice.

Step 1
Late event arrives

The new payload is accepted because raw history is append-only and deduped on stable event identity.

Step 2
Recompute the affected window

Recalculate the period from source events instead of hand-editing current invoice totals.

Step 3
Publish the correction

Produce a credit note, next-invoice adjustment, or another visible artifact linked to the changed source set.

Invariant: issued invoices stay immutable. Corrections are additive evidence, not silent edits.
Once an invoice is finalised, delayed usage should rerun the affected period against the same source history and emit a visible adjustment such as a credit note or next-invoice line.

Keep raw usage as history, not as a mutable total

Persist raw usage as immutable events. When an event arrives late, it should feed the same computation path as everything else, just later in time.

  • Require a stable event id, or derive a deterministic hash, and dedupe on ingestion.
  • Store the full payload for audit, replay, and support review.
  • Record ingestion time separately from the event’s effective time.

Define recomputation rules before the first exception

Pick a window model and decide how far back the system is allowed to recalculate. In practice, teams usually combine deterministic recomputation with explicit adjustment artifacts.

  • Deterministic recomputation: the same source events should always produce the same rolled-up result.
  • Invoice finality: once an invoice is issued, delayed usage should create a visible correction, not a hidden edit.
  • Evidence: keep a record of what changed and why so finance and support can review it later.

Protect the money path with a few non-negotiable rules

  • Use idempotency keys for any money-moving operation such as charge, refund, or invoice finalisation.
  • Ensure each event contributes at most once to a given window calculation.
  • Keep issued invoices immutable and emit corrections as separate artifacts.
  • Make every billed line traceable back to its source events.
Next article
Hybrid plans + proration
Upgrades, downgrades, and seat changes only feel fair when the customer can see exactly why a credit or debit appeared.

Keep reading on the site, or start the guided email sequence if you want the same lessons delivered in order.

Plan your rolloutStart technical briefings
On this page
Correction diagramKeep raw usage immutableDefine recomputation rulesProtect the money path
Plan your rolloutStart technical briefings
Built for product, finance, and security teams

Ready to move from review into a concrete rollout conversation?

Use the platform, docs, trust, and implementation pages to get the right people aligned. When the project becomes active, share your pricing model, deployment posture, and migration constraints so the reply starts with your environment.

Plan your rolloutImplementation guide
Technical briefingsNeruba Engineering Notes
Neruba
Usage pricing, credits, and subscriptions

Usage ingest, ledger-backed billing, and operator-ready recovery for teams that need the money model to stay explainable.

© 2026 AspectSoft
Product
OverviewCapabilitiesSolutionsBuying paths
Developers
QuickstartImplementationDocsAPI examplesOperationsBlog
Trust
Trust CenterSecurityPrivacyStripe comparison