BillingPeriodItem

Represents one payment period for a subscription. The billing period item is used to pass billing information to an invoice line item in Subscription Management.

When a billing schedule is invoiced, Subscription Management creates a billing period item to store the billing and payment information that’s passed to an invoice line. Subscription Management next creates an invoice line for billing period items that match the invoice’s target date. One billing period item is created for each billing period in the billing schedule. For example, a one-year subscription that’s billed quarterly creates a billing schedule with four billing period items.

Introduced in API version 55.0.

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search()

  • This object is available with Subscription Management and Billing (Revenue Cloud).
  • For information about this object that’s available with Billing (Revenue Cloud), including its special access rules, see the Revenue Cloud Developer Guide.
  • Type: currency
  • Properties: Create, Filter, Sort, Update
  • Description: Price for the billing period item. Used to calculate the invoice line’s Amount field.
  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Used to calculate the invoice line’s end date.
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: System-defined number that refers to the billing period item.
  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Used to calculate the invoice line’s start date.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 64.0

  • Relationship name: BillingScheduleGroup

  • Relationship type: relationship

  • Refers to: BillingScheduleGroup

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Parent billing schedule of the billing period item.

    This field is a relationship field.

  • Relationship name: BillingSchedule

  • Relationship type: masterdetail

  • Refers to: BillingSchedule

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort
  • Introduced: API version 62.0
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 55.0

  • Description:

    Parent invoice batch run of the billing period item.

    This field is a relationship field.

  • Relationship name: InvoiceBatchRun

  • Relationship type: relationship

  • Refers to: InvoiceBatchRun

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 62.0

  • Relationship name: Invoice

  • Relationship type: relationship

  • Refers to: Invoice

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description:

    This field looks up to the invoice line that’s generated from the billing period item. This field is populated only when a billing period item is generated via an invoice batch run. Otherwise, this field is empty.

    This field is a relationship field.

  • Relationship name: InvoiceLine

  • Relationship type: relationship

  • Refers to: InvoiceLine

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Status of the invoice that contains the invoice line created from the billing period item.
  • Possible values:
    • Canceled — Canceled — The invoice for this billing period item was canceled.
    • Draft — Draft — The invoice has been created but hasn’t been posted. Available in API version 60.0 and later.
    • DraftInProgress — DraftInProgress — The invoice hasn’t been created yet. When the invoice is created, the InvoiceStatus field value is changed to Draft. If the invoice generation process fails, the InvoiceStatus field value shows DraftInProgress. Available in API version 60.0 and later.
    • Error — Error — The invoice for this billing period item was generated in error.
    • Pending — Pending — The invoice for this billing period item is being generated.
    • Posted — Posted — An invoice line based on this billing period has been created and added successfully to the invoice.
    • PostingInProgress — PostingInProgress — An invoice line based on this billing period has been created and is in the process of being added to the invoice. Available in API version 60.0 and later.
    • Voided — Voided — An invoice line based on this billing period was voided.
    • VoidInProgress — VoidInProgress — An invoice line based on this billing period is in the process of being voided.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 62.0
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 63.0

  • Relationship name: RelatedMilestonePlanItem

  • Relationship type: relationship

  • Refers to: BillingMilestonePlanItem

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 62.0

  • Relationship name: RelatedUsageBillPeriodItem

  • Relationship type: relationship

  • Refers to: UsageBillingPeriodItem

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Status of the billing period item. Draft billing period items aren’t evaluated for invoice line creation.
  • Possible values:
    • Canceled — Canceled
    • Draft — Draft
    • Reviewed — Reviewed
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 63.0

  • Relationship name: UnitOfMeasure

  • Relationship type: relationship

  • Refers to: UnitOfMeasure