TermsVersionItemOutput

One frozen service line, in the shape the live terms table renders.

Field names mirror RevenueItemOutput so the front end can reuse the existing table component. revenueItemId stands in for the live row's id: a snapshot is not a revenue item, but it is a snapshot of one, and it stays populated after that row has been deleted.

  • Auto renewal flag

  • Billing start date

  • This line's share of its bundle's discount, in the account currency

  • This line's share of its bundle's discount, in the contract currency

  • The bundle this line belonged to at this version; null for a standalone line

  • Billing frequency ID

  • Service period ID

  • Opt-out date

  • Duration

  • Discount

  • Payment frequency

  • Number of payments

  • Discount type

  • Display order at this version

  • What price_per_unit covers: 2 (one year) for a year; null or 1 (one month) for a month

  • Price per unit

  • Quantity

  • The revenue item this line snapshots. Null only on a version never applied

  • Service end date

  • Service item ID

  • Service item name

  • Service start date

  • Line total

  • Line total in the contract currency