TermsPreviewItemInput

One line of the pending set.

RevenueItemUpdateInput already carries every editable field, so this only adds the identity the diff needs: id present means an existing line being modified or left alone, id absent means a line the editor just added and has never saved.

  • Auto renewal flag

  • Billing end date

  • Billing start date

  • The bundle this line is in: an existing bundle's id, or the key of a bundle the request adds. Read only when the request sends bundles; the line's totals are then its own, before the bundle discount

  • Custom billing frequency

  • Custom duration

  • Custom opt out date

  • Custom service duration

  • Discount amount

  • Equal payments billing frequency

  • Equal payments number of payments

  • Whether the line's start date follows its bundle's. Omitted: true for a new line, unchanged for an existing one

  • Revenue item ID. Omit for a newly added line

  • Is discount percentage flag

  • Free-text note on the service; null or blank removes it

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

  • Price per unit in the contract's local currency — negative on a discount or credit line

  • Quantity — fractional allowed, negative for a downsell

  • Scheduled payments for this revenue item

    Properties: 4
  • Service end date

  • Service item ID

  • Service item name

  • Service item pricing ID

  • Service start date

  • Total amount — negative on a downsell line

  • Total amount in local currency — negative on a downsell line