Skip to main content
A Contract Line is the product-level entitlement within a Contract Phase. It defines what a customer is entitled to for a specific product during a specific commitment interval: the active quantity, the contracted price, the billing cadence, and the service boundaries. Contract Lines are the system of record for entitlements. When someone asks “what is this customer paying for right now?”, the answer is the set of active Contract Lines on the current Contract Phase.

How Contract Lines are created

Contract Lines are produced when an Order is activated. Each Order Line creates or modifies a Contract Line based on the Order’s commercial classification and the contract impact instructions on the line.
OrderLine (activated)  →  ContractLine (created or modified)
Contract Lines are never created manually. They are always the result of an executed Order.

What a Contract Line contains

FieldDescription
ProductThe SKU. Identifies what the customer is entitled to.
Active quantityThe number of units the customer is currently entitled to.
Contracted priceThe authoritative price for this product on this contract. This is the price that was committed at execution, not the current list price.
Billing cadenceHow this entitlement is billed: monthly, quarterly, annual, or one-time.
Service startWhen this entitlement begins. Inherited from the parent Contract Phase.
Service endWhen this entitlement expires. Inherited from the parent Contract Phase.
Renewal behaviorHow this line should be treated at renewal: auto-renew, manual renewal, or do not renew.
Parent Contract PhaseThe Phase this line belongs to.
Originating Order LineReference to the Order Line that created or last modified this Contract Line.

The contracted price

The contracted price on a Contract Line is one of the most important values in the system. It is the authoritative price for this product on this contract — the price that was agreed to during negotiation, resolved at promotion, and committed at activation. The contracted price is not the current list price. It is not recalculated when the price book changes. It is not affected by new pricing rules or data sheet updates. It is the price that was locked at the moment of execution. This distinction matters most during amendments. When a customer modifies their contract mid-term, the contracted price serves as the baseline: Example: A product was contracted at 4.25/unit after negotiation. The customer wants to add 20 more seats mid-term. The incremental seats are priced relative to the 4.25 contracted rate — not the current list price of $5.00. The system preserves the negotiated rate unless explicitly overridden. This ensures commercial integrity, auditability, and predictability across the life of the agreement.

How Contract Lines are affected by different Order types

New Business

Each Order Line creates a new Contract Line. These initial Contract Lines establish the baseline entitlement: what the customer bought, at what price, for what period.

Amendment: add product

The Order Line creates a new Contract Line for a product that wasn’t on the Contract before. The new line is added to the appropriate Contract Phase (active or future, depending on when the new product takes effect).

Amendment: modify existing

The Order Line adjusts an existing Contract Line. Common modifications include:
  • Increase quantity — the active quantity on the Contract Line is updated. For mid-term increases, proration is typically applied for the remaining duration of the active Phase.
  • Decrease quantity — the active quantity is reduced (if permitted by your configuration).
  • Adjust pricing prospectively — the contracted price is updated for future Phases only. The historical contracted price in past Phases is preserved.
The Contract Line’s history is maintained. The system tracks what the quantity and price were before the amendment and what they are after.

Renewal

Expiring Contract Lines are replaced by new ones with updated terms. The renewal may include:
  • Price uplift — the contracted price is adjusted (e.g., 5% annual increase).
  • Quantity changes — the quantity may increase or decrease based on the renewal negotiation.
  • Term changes — billing cadence or service boundaries may be adjusted.
The prior Contract Lines are preserved as historical records in their original Phases. The new Contract Lines are created in the new renewal Phase.

Active vs. historical Contract Lines

Contract Lines exist in one of three states, determined by the status of their parent Contract Phase: Active. The parent Phase is current. These lines define what the customer is entitled to right now and what they are being billed for. Future. The parent Phase hasn’t started yet. These lines represent upcoming commitments (common in ramp and multi-year deals). They can be modified by amendments. Historical. The parent Phase has ended. These lines are preserved as a permanent record of what was committed during that period. They cannot be modified and serve as the audit trail for past commercial state.
The ability to reconstruct the exact state of a customer’s entitlements at any historical point in time is a direct result of preserving historical Contract Lines. Finance teams rely on this for revenue recognition, audit compliance, and reconciliation.

Contract Lines and billing

If Stripe is connected, active Contract Lines drive ongoing billing:
  • Recurring lines generate invoices on their billing cadence (monthly, quarterly, annual) using the contracted price and active quantity.
  • Prorated lines (from mid-term amendments) generate adjusted invoices for the remainder of the current Phase.
  • Renewal lines trigger billing at the start of the new Phase using the updated contracted price.
The contracted price on the Contract Line is what appears on the invoice. There is no recalculation at billing time — the price was resolved at execution and is used as-is.

Contract Lines and the MCP server

Through the Veles MCP server, AI agents can query Contract Lines programmatically. This enables workflows like:
  • Pulling the current entitlement state for a customer to inform a renewal conversation
  • Checking contracted prices before building an amendment quote
  • Monitoring upcoming Phase transitions to proactively generate renewal quotes

Example: Contract Line through amendments

Initial deal: Customer buys 50 seats of Platform at $40/user.
Contract LineQuantityContracted PricePhase
Platform License50$40/userYear 1 (active)
Amendment: add 25 seats mid-term.
Contract LineQuantityContracted PricePhaseNotes
Platform License75$40/userYear 1 (active)Quantity increased. Incremental 25 seats prorated for remaining months. Contracted price preserved at $40.
Renewal with 5% uplift:
Contract LineQuantityContracted PricePhase
Platform License75$40/userYear 1 (historical)
Platform License75$42/userYear 2 (active)
The Year 1 line is preserved at 40.TheYear2linereflectsthe40. The Year 2 line reflects the 42 renewal rate. Both are visible on the Contract.

What’s next

Contract Phases

The commitment intervals that Contract Lines belong to.

Contract Management

The full Contract object model and mutation logic.

Proration Logic

How mid-Phase changes are prorated on Contract Lines.

Order Lines

The execution-layer lines that produce Contract Lines.