AMMP Billing Engine
A multi-tenant billing platform that turns solar and energy asset telemetry into finished invoices in Xero.
- Metered billing from live data. Per-asset production is pulled from the AMMP Data API, billable energy is computed per contract type (PPA, fixed lease, variable tariff, on/off-grid) with minimum-consumption floors.
- Invoice generation and Xero sync with configurable numbering, VAT handling, race-safe server-side sequencing, duplicate guards and per-customer routing to the right Xero organisation.
- Customer and contract registry, revenue KPIs, and forecast-vs-actual variance with FX-normalised forecasting.
- Team-scoped data isolation with row-level security and owner/admin/member/viewer roles.
React, TypeScript, Tailwind, Postgres, edge functions, Xero OAuth






