BillingPeriodItem
Represents a payment period for an invoice. The billing period item is used to pass billing information to an invoice line. This object is available in API version 62.0 and later.
Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search()
You need the Billing Admin permission set to access this object.
- Type: currency
- Properties: Filter, Sort
- Description: Required. The price for the billing period item. This field is used to calculate the invoice line’s amount.
- Type: date
- Properties: Filter, Group, Nillable, Sort
- Description: The end date of a billing period that’s used to calculate the invoice line’s end date.
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Required. An auto-generated number identifying the billing period item.
- Type: date
- Properties: Filter, Group, Nillable, Sort
- Description: The start date of a billing period item that’s used to calculate the invoice line’s start date.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the parent billing schedule group record that’s related to the billing period item. Available in API version 64.0 and later.
This field is a relationship field.
- Relationship Name: BillingScheduleGroup
- Refers To: BillingScheduleGroup
- Type: reference
- Properties: Filter, Group, Sort
- Description: Required. The ID of the parent billing schedule record of the billing period item.
This field is a relationship field.
- Relationship Name: BillingSchedule
- Relationship Type: Master-detail
- Refers To: BillingSchedule (the master object)
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the parent invoice batch run record of the billing period item.
This field is a relationship field.
- Relationship Name: InvoiceBatchRun
- Refers To: InvoiceBatchRun
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the parent Invoice record of the Invoice Line record that’s generated from the billing period item.
This field is a relationship field.
- Relationship Name: Invoice
- Refers To: Invoice
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the Invoice Line record that’s generated from the billing period item. This field is populated only when a billing period item is generated by an invoice batch run. Otherwise, this field is empty.
This field is a relationship field.
- Relationship Name: InvoiceLine
- Refers To: InvoiceLine
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Description: Required. The status of the invoice that contains the invoice line created from the billing period item.
Valid values are:
Canceled— The invoice for this billing period item was canceled.Draft— The invoice has been created but hasn’t been posted.DraftInProgress— The invoice hasn’t been created yet. When the invoice is created, theInvoiceStatusfield value is changed toDraft. If the invoice generation process fails, theInvoiceStatusfield value showsDraftInProgress.Error— The invoice for this billing period item was generated in error.Pending— The invoice for this billing period item is being generated.Posted— An invoice line based on this billing period has been created and added successfully to the invoice.PostingInProgress— An invoice line based on this billing period has been created and is in the process of being added to the invoice.Voided— An invoice line based on this billing period was voided.VoidInProgress— An invoice line based on this billing period is in the process of being voided.
- Type: double
- Properties: Filter, Nillable, Sort
- Description: The quantity of the usage overage that has exceeded the initial grant. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The billing milestone plan item that creates the billing period item. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
This field is a relationship field.
- Relationship Name: RelatedMilestonePlanItem
- Refers To: BillingMilestonePlanItem
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The method for retrieving billing information for usage-based products. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
This field is a relationship field.
- Relationship Name: RelatedUsageBillPeriodItem
- Refers To: UsageBillingPeriodItem
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Description: Required. The status of the billing period item. Draft billing period items aren’t evaluated for invoice line creation.
Valid values are Canceled, CatchUpProcessed. Available in API version 68.0 and later, Draft, or Reviewed.
- Type: double
- Properties: Filter, Nillable, Sort
- Description: The total quantity of the usage resource consumed during the billing period. This includes granted entitlements, excess consumption, or consumption below the granted entitlements. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The units used to measure the overage. For example, bytes or minutes. Available in API version 63.0 and later.
This field is a relationship field.
- Relationship Name: UnitOfMeasure
- Refers To: UnitOfMeasure