InvoiceLine

Represents the amount that a buyer must pay for a product, service, or fee. Invoice lines are created based on the amount of an order line.

Introduced in API version 48.0.

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

  • This object is available with Order Management, 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, Nillable, Sort, Update
  • Description: Sum of adjustments made to the invoice line.
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 49.0
  • Description: Sum of adjustment amounts, including associated taxes related to the invoice line.
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 49.0
  • Description: Sum of tax adjustments to the invoice line.
  • Type: currency
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 62.0
  • Description: The outstanding balance for an invoice line. This is equal to the invoice’s total amount with tax after deducting the payments made.
  • Type: reference

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

  • Introduced: API version 54.0

  • Description:

    Lookup field to an InvoiceAddressGroup containing the billing address for the invoice line. Assign one InvoiceAddressGroup to the invoiceLine’s BillingAddressID, and another InvoiceAddressGroup to the invoiceLine’s ShippingAddressId.

    This field is a relationship field.

  • Relationship name: BillingAddress

  • Relationship type: relationship

  • Refers to: InvoiceAddressGroup

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 62.0
  • Description: This field is a relationship field.
  • Relationship name: BillingScheduleGroup
  • Relationship type: relationship
  • Refers to: BillingScheduleGroup
  • Type: reference

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

  • Introduced: API version 52.0

  • Description:

    ID of the billing schedule for the invoice line.

    This field is a relationship field.

  • Relationship name: BillingSchedule

  • Relationship type: relationship

  • Refers to: BillingSchedule

  • Type: currency
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Sum of charges made to the invoice line.
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 49.0
  • Description: Amount on a charge invoice line, including tax.
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 62.0
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 49.0
  • Description: Tax to be applied on a charge invoice line.
  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Introduced: API version 65.0
  • Type: currency
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 56.0
  • Description: The amount from an invoice line that is converted to credit.
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: date
  • Properties: Filter, Group, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: string
  • Properties: Filter, Group, Nillable, Sort, Update
  • Introduced: API version 63.0
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Description of the invoice line.
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 66.0
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 66.0
  • Type: date
  • Properties: Filter, Group, Nillable, Sort, Update
  • Introduced: API version 66.0
  • Type: double
  • Properties: Filter, Nillable, Sort, Update
  • Introduced: API version 66.0
  • Type: string
  • Properties: Filter, Group, Nillable, Sort, Update
  • Introduced: API version 66.0
  • Type: currency
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 49.0
  • Type: reference

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

  • Description:

    Grouping field for adjustment line items.

    This field is a polymorphic relationship field.

  • Relationship name: GroupReferenceEntityItem

  • Relationship type: polymorphic

  • Refers to: DebitMemoLine, InsPolicyTransactionDetail, InsurancePolicyTransaction, OrderItem, OrderItemAdjustmentLineItem, OrderItemDetail, OrderItemSummary, QuoteLineDetail, QuoteLineItem, RegulatoryTrxnFeeItem

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

  • Properties: Create, Defaulted on create, Filter, Group, Sort

  • Introduced: API version 62.0

  • Description:

    Indicates whether this field merges items from the same billing period.

    The default value is false.

  • Default value: false

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    The invoice that contains this invoice line.

    This field is a relationship field.

  • Relationship name: Invoice

  • Relationship type: masterdetail

  • Refers to: Invoice

  • Type: date
  • Properties: Create, Filter, Group, Sort, Update
  • Description: For invoice lines made from a time-based service, the end date of the billing for the service.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort
  • Introduced: API version 62.0
  • Type: date
  • Properties: Create, Filter, Group, Sort, Update
  • Description: For invoice lines made from a time-based service, the first date of the billing for the service.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 48.0
  • Description: State of the invoice line. Inherited from the invoice’s status.
  • Type: boolean

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Introduced: API version 62.0

  • Default value: false

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 62.0
  • Description: This field is a relationship field.
  • Relationship name: LegalEntityAccountingPeriod
  • Relationship type: relationship
  • Refers to: LegalEntyAccountingPeriod
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 62.0
  • Description: This field is a relationship field.
  • Relationship name: LegalEntity
  • Relationship type: relationship
  • Refers to: LegalEntity
  • Type: currency

  • Properties: Filter, Nillable, Sort

  • Introduced: API version 49.0

  • Description:

    The amount of the invoice line.

    This field is a calculated field.

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: Name of the invoice line.
  • Type: currency

  • Properties: Filter, Nillable, Sort

  • Introduced: API version 62.0

  • Description:

    The total credit memo line amount applied to the invoice line. This amount is calculated by subtracting the unapplied credit memo line amount from the applied credit memo line amount.

    This field is a calculated field.

  • Type: currency

  • Properties: Filter, Nillable, Sort

  • Introduced: API version 61.0

  • Description:

    The total payment applied to the invoice line. This amount is calculated by subtracting the unapplied payment amount from the applied payment amount.

    This field is a calculated field.

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

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 61.0

  • Relationship name: ParentInvoiceLine

  • Relationship type: relationship

  • Refers to: InvoiceLine

  • Type: reference

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

  • Description:

    The product that was charged or ordered to create the invoice line.

    This field is a relationship field.

  • Relationship name: Product2

  • Relationship type: relationship

  • Refers to: Product2

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Number of units of the order product that created the invoice line.
  • Type: reference

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

  • Description:

    The order item or adjustment item that created the invoice line.

    This field is a polymorphic relationship field.

  • Relationship name: ReferenceEntityItem

  • Relationship type: polymorphic

  • Refers to: DebitMemoLine, InsPolicyTransactionDetail, InsurancePolicyTransaction, OrderItem, OrderItemAdjustmentLineItem, OrderItemDetail, OrderItemSummary, QuoteLineDetail, QuoteLineItem, RegulatoryTrxnFeeItem

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The type of transaction that created the invoice line.
  • Possible values:
    • DeliveryCharge — DeliveryCharge — Charge
    • Fee — Fee — Charge. This value is available in API version 56.0 and later.
    • OrderProduct — OrderProduct — Product
  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The type of object that created the invoice line.
  • Possible values:
    • Charge — Charge
    • Product — Product
  • Type: reference

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

  • Description:

    The original invoice line that was adjusted or taxed.

    This field is a relationship field.

  • Relationship name: RelatedLine

  • Relationship type: relationship

  • Refers to: InvoiceLine

  • Type: reference

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

  • Introduced: API version 64.0

  • Relationship name: ShipFromAddress

  • Relationship type: relationship

  • Refers to: InvoiceAddressGroup

  • Type: reference

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

  • Introduced: API version 54.0

  • Description:

    The ID of the shipping address associated with the invoice line.

    This field is a relationship field.

  • Relationship name: ShippingAddress

  • Relationship type: relationship

  • Refers to: InvoiceAddressGroup

  • Type: currency
  • Properties: Filter, Nillable, Sort, Update
  • Description: Total tax for the invoice line.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The code used to calculate tax rate for the invoice line.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 51.0
  • Description: Represents the latest record in the external tax engine in which this invoice line item is included.
  • Type: date
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The date used to calculate the invoice line’s TaxAmount.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: User-defined name for the applied tax.
  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Introduced: API version 54.0
  • Type: percent
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Percentage value used for calculating tax.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 51.0
  • Description: Represents the transaction in the external tax engine in which the taxes for the line were calculated for the invoice line.
  • Type: reference

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

  • Introduced: API version 55.0

  • Description:

    The tax treatment used on this invoice line.

    This field is a relationship field.

  • Relationship name: TaxTreatment

  • Relationship type: relationship

  • Refers to: TaxTreatment

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort
  • Description: Shows the type of transaction for the invoice line.
  • Possible values:
    • Adjustment — Adjustment
    • Charge — Charge
    • Tax — Tax
  • Type: reference

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

  • Introduced: API version 63.0

  • Relationship name: UnitOfMeasure

  • Relationship type: relationship

  • Refers to: UnitOfMeasure

  • Type: currency
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Price for one unit of the item on the invoice line.
  • 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: UsageProductBillSchdGrp

  • Relationship type: relationship

  • Refers to: BillingScheduleGroup

  • Type: reference

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

  • Introduced: API version 63.0

  • Relationship name: UsageProduct

  • Relationship type: relationship

  • Refers to: Product2

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.