Skip to main content

Glossary

Key terms and definitions used in Billerang. Terms are alphabetized. Where a term maps to a specific entity or API concept, the mapping is noted in parentheses.

TermDefinition
Accounting CodeThe ledger code attached to an accounting article. It routes revenue from a rated transaction to the right account in the general ledger, and distinguishes liability accounts (deferred revenue) from regular revenue accounts.
Aggregation RuleThe rule that decides how rated transactions are grouped into invoice lines on an invoice. Transactions can be aggregated by article, by subscription, by unit price, or left unaggregated (one line per transaction).
ArticleThe billing-facing wrapper around a charge template. An article carries the accounting code, tax class, and invoice sub-category used to present a charge on an invoice, decoupling how a charge is priced from how it is displayed and posted to the ledger.
AuditableThe base trait every business entity carries: created date, creator, last-updated date, and last updater. It underlies the audit trail shown in every edit page's sidebar card.
Bill RunA scheduled or on-demand job that processes eligible billing accounts for a billing cycle, generates rated transactions into invoices, and moves them from draft to validated.
Bill Run Process TypeThe billing account selection strategy for a bill run: by billing account, by billing account list, or by invoice date. It determines which accounts are picked up in a given run.
Billing AccountThe account that receives invoices. It sits below a customer account in the hierarchy, and carries the billing cycle, payment method, and invoicing preferences for a group of subscriptions.
Billing CycleThe configuration that tells a bill run when and how often to invoice a billing account: invoicing day, calendar, and bill run process type.
BusinessEntityThe base class for any entity identified by a unique business code and description, as opposed to only a database id. Sellers, offer templates, and charge templates are all BusinessEntity subclasses.
CDRCall Detail Record. Raw usage data from a network or platform (call length, data volume, transaction count) that mediation converts into EDRs before rating.
ChargeThe pricing unit attached to a service or product. Billerang has three charge families: Recurring (billed every period on the billing cycle), One-shot (billed once, e.g. an activation fee), and Usage (billed per unit of consumption, driven by rated EDRs).
Connect PortalThe tenant onboarding and self-service portal that provisions a new Billerang tenant, its Keycloak realm, and its initial provider configuration.
Custom FieldA dynamically defined field attached to any entity without a schema change. Custom field values are stored in cf_values and are readable via entity.getCfValue("fieldCode").
Customer AccountThe financial and payment layer of the account hierarchy, sitting between customer and billing account. It holds the payment method, currency, and credit category used across all billing accounts underneath it.
Discount PlanA reusable set of discount rules (percentage, fixed amount, or formula-based) that can be attached at the offer, product, or subscription level. Multiple discount plans can apply to the same subscription at once.
EDREvent Detail Record. The normalized usage event Billerang rates against a charge, either produced directly by an API call or derived from a CDR during mediation.
InvoiceThe billing document generated from a set of rated transactions for a billing account. It groups invoice lines, computes tax, and is rendered to PDF (or a structured e-invoice) from a billing template.
Invoice LineA single line on an invoice, the result of aggregating one or more rated transactions under an aggregation rule.
Offer TemplateThe catalog-level product definition a customer subscribes to. An offer template bundles one or more service or product templates, each carrying its own charges.
OrderA commercial request to add, change, or terminate one or more subscriptions. Orders drive subscription creation and carry their own validation, pricing preview, and document generation.
Price Plan MatrixThe pricing table attached to a charge template. It resolves the unit price from criteria such as date, quantity tier, currency, or custom attributes, and can use a fixed value or a formula.
QuarantineThe holding state for EDRs or CDRs that failed validation or rating. Quarantined records are visible for review and can be corrected and resubmitted instead of being silently dropped.
Query APIThe read-only v1 endpoint (GET/POST /api/v1/query/{entity}) that powers tables, pickers, and forms. It replaces the legacy generic API for all read paths.
QuoteA pre-order proposal with its own pricing and validity period. A quote can be converted into an order once accepted.
Rated Transaction (RT)The priced result of rating a charge, whether recurring, one-shot, or usage-driven. Rated transactions are the atomic unit that bill runs aggregate into invoice lines.
RatingThe process of applying a price plan matrix to a charge occurrence (a billing cycle tick, a one-shot trigger, or a rated EDR) to produce a rated transaction.
ReservationA temporary hold placed against a wallet balance during real-time usage rating, so a session in progress cannot overspend a prepaid balance before it is confirmed or released.
SellerThe legal entity issuing invoices. A seller carries its own invoice sequences, legal details, and trading currencies, and sits at the top of the account hierarchy.
Split BillingSplitting the rated transactions of a single subscription across more than one billing account, so different parts of the same subscription are invoiced separately.
SubscriptionThe active instantiation of an offer template for a billing account. It carries the services or products actually contracted, their activation and termination dates, and the charges currently running.
Tax ClassThe classification that determines which tax rate applies to a charge, via a tax mapping to a tax category and rate.
Tenant / ProviderThe isolation unit in a multi-tenant Billerang deployment. Each tenant (provider) has its own data partition and, typically, its own Keycloak realm. See Multi-Tenancy.
Trading CurrencyA currency a seller is authorized to invoice in, alongside the seller's functional currency. Price plan matrices and rated transactions can resolve amounts per trading currency.
UsageConsumption-based activity (calls, data, API requests) reported as EDRs or CDRs and rated against usage charges, as opposed to flat recurring or one-shot charges.
WalletThe running balance associated with a subscription, either prepaid (used to fund usage in real time) or postpaid (an accumulator tracked for reporting and thresholds).
Wallet OperationAn individual debit or credit against a wallet, created when a charge is rated. Wallet operations are the internal counterpart of a rated transaction before it is confirmed.

See also