Skip to main content

Billing of a line item

You can start with a walkthrough instead of reading this document first. A walkthrough is the practical extension of the concepts in this document. It puts them into practice through one example with concrete values. Each part of the walkthrough explains the concepts that its steps apply and links to the sections that cover them.

Billing: when Zenskar invoices

The billing cadence is how often Zenskar invoices a line item. It can be monthly, quarterly, semi-annual, annual, or a custom number of months or years. A billing period is one period of the billing cadence. For example, with a monthly billing cadence, each billing period is one month. The anchor dates of a line item decide the day on which its billing periods start. Payment timing is whether Zenskar invoices a line item at the start of each billing period, or after it ends: For example, a seat line item with monthly prepaid billing is invoiced on March 1 for March. A line item for API calls, with monthly postpaid billing, is invoiced on April 1 for the calls made in March. A billing version is the billing cadence and the payment timing that a line item uses for one range of dates within the line-item duration. The billing of a line item is copied from its pricing preset when you add the product. The line item then has its own copy. A later change to the billing of the line item does not change the pricing preset. Each billing version has a payment timing and, in most cases, a billing cadence. A prepaid billing version for an on-demand quantity strategy can have no billing cadence. Zenskar then invoices each purchase on its own, when it is made. The billing versions of a line item do not overlap. Within each pricing version, the billing versions cover all the dates, or none. Where a pricing version has no billing version, Zenskar copies the billing of its pricing preset, if the pricing preset has one. An active contract needs billing for every pricing version. Take, as an example, a contract for 2027 that charges for two products, each on its own line item: seats, from January to December, and dedicated servers, from April to December. In this contract, seats are billed monthly, prepaid, until March. The customer wants quarterly invoices from April. Seats are therefore billed quarterly, prepaid, from April. These are two billing versions. Both billing versions cover parts of the first pricing version of seats, which runs until June. The second billing version also covers the whole second pricing version, from July. Dedicated servers are billed monthly, prepaid, for their whole line-item duration.

This conceptual diagram shows how the billing versions of the two line items in the example cover their pricing versions.

Billing that covers only part of a pricing version is not valid. For example, if the billing of seats stopped at the end of September, while the pricing version of USD 22 a seat runs to December, Zenskar would reject the contract.

This conceptual diagram shows billing that covers only part of a pricing version, which is not valid.

Once a billing period is invoiced, its payment timing cannot change. A change of payment timing can start only after the last invoiced billing period of the line item. A billing period counts as invoiced when its invoice is approved, partially paid, paid, void, or canceled.

Billing and pricing

The billing cadence of a line item has to fit the pricing of the line item. Zenskar checks each billing version against each pricing version that it overlaps. For a period-of-time product, the billing cadence and the pricing period align: one is a whole multiple of the other. In the example, seats have a pricing period of one month, and are billed quarterly from April. Each billing period from April covers three pricing periods. A pricing period of two months does not fit quarterly billing.

This conceptual diagram shows how one quarterly billing period of seats covers three monthly pricing periods.

For a point-in-time product with the volume pricing model or the tiered pricing model, the tier-reset period and the billing cadence align in the same way. For example, a tier-reset period of one quarter fits monthly billing. A billing version cannot be prepaid where a quantity version of the line item counts metered usage with the on-demand quantity strategy. See Set the billing of a line item.