Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt

Use this file to discover all available pages before exploring further.

Zenskar is billing infrastructure. It ingests customer activity, applies the pricing and revenue logic defined in your contracts, generates invoices, collects payments, and produces accounting-ready revenue schedules automatically. The platform is built around a single principle: billing is a data pipeline. Understanding that pipeline is the fastest way to understand Zenskar.

The data model

Every object in Zenskar is a stage in the quote-to-cash flow.
ObjectWhat it represents
CustomerThe entity being billed.
ContractThe commercial agreement: what is sold, at what price, on what schedule.
ProductA unit of value being sold: a subscription, a usage-based service, a one-time fee.
Usage eventA raw record of customer activity: an API call, a query, bytes transferred.
Billable metricAn aggregation over usage events, producing the quantity that drives an invoice line item.
InvoiceThe periodic bill, derived from contract terms and billable metrics.
PaymentThe settlement of an invoice.
Revenue scheduleThe accounting record of when and how revenue is earned.

How a contract drives billing

The contract is the central object. Everything else flows from it. A contract captures:
  • Who is being billed (the customer)
  • What is being sold (products, grouped into phases)
  • How much (the pricing model per product: flat-fee, per-unit, tiered, volume, matrix, or combinations)
  • When (billing cadence, start date, end date)
  • How revenue is recognized (performance obligation policies for ASC 606 / IFRS 15)
Contracts are structured into phases: time-bounded segments with their own product set and pricing. This lets you model trials, ramp pricing, and mid-term amendments within a single contract. Once a contract is live, Zenskar generates invoices automatically according to the billing cadence. No manual intervention required.

How usage-based billing flows

For metered products, Zenskar acts as a data pipeline between your product and your invoices.
  1. Usage events arrive from your system via the Zenskar API, a CSV upload, a connected data source (Snowflake, BigQuery, PostgreSQL, and others), or a scheduled remote SQL query.
  2. Billable metrics define how those events are aggregated. You configure the aggregation logic once using a visual builder or SQL, and Zenskar recomputes it each billing cycle.
  3. The billing engine applies the pricing model from the contract to the billable metric, producing invoice line items.
  4. An invoice is generated on schedule or on demand.
For flat-fee or subscription products, steps 1 and 2 are skipped. The invoice amount is derived directly from the contract.

Two parallel workflows

Once a contract is created, Zenskar runs two concurrent workflows.
WorkflowPurposeOutput
BillingExecute the payment terms in the contract.Invoices, credit notes, payment receipts.
Revenue recognitionSatisfy ASC 606 / IFRS 15 accounting requirements.Revenue schedules, deferred revenue reports.
The billing workflow is operational: it generates invoices, collects payment, and records receipts. The revenue recognition workflow is an accounting layer running in parallel. It determines when revenue is earned, which may differ from when cash is collected. Both workflows read from the same contract. You configure a contract once; both outputs follow automatically.

Where Zenskar sits in your stack

Zenskar connects your product to your financial systems.
  • Upstream: usage data flows in from your product, data warehouse, or CRM (Salesforce, HubSpot, DealHub, and others).
  • Downstream: invoices, payments, and revenue schedules flow out to NetSuite, QuickBooks, Xero, Sage, SAP, or Zoho Books.
  • Payment collection: Stripe, Adyen, and Razorpay integrate directly. Zenskar can initiate charges and record receipts without leaving the platform.
  • Tax: Avalara AvaTax and Anrok calculate sales tax at the invoice level automatically.

Where to go next

Quickstart

Add a customer, ingest usage, and generate your first invoice.

Contracts

Understand how contracts drive billing and revenue recognition.

Usage & metering

Learn how usage events flow into billable metrics and invoices.

Revenue recognition

See how Zenskar automates ASC 606 / IFRS 15 compliance.