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. 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(), update()
You need the Billing Admin permission set to access this object.
- Type: currency
- Properties: Filter, Nillable, Sort, Update
- Description: The sum of adjustments made to the invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of adjustment amounts, including associated taxes related to the invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of tax adjustments to the invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The outstanding balance for an invoice line. This amount is equal to the invoice’s total amount with tax after deducting the payments made.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: This field is related to an
InvoiceAddressGroupfield containing the billing address for the invoice line. For example, oneInvoiceAddressGroupfield is related to the invoiceLine’sBillingAddressIDfield, and anotherInvoiceAddressGroupfield is related to the invoiceLine’sShippingAddressIdfield.
This field is a relationship field.
- Relationship Name: BillingAddress
- Refers To: InvoiceAddressGroup
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the billing schedule group for the invoice line.
This field is a relationship field.
- Relationship Name: BillingScheduleGroup
- Refers To: BillingScheduleGroup
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the billing schedule for the invoice line. Edit access is enabled for this field. You must not modify this field when the invoice line is related to a posted invoice.
This field is a relationship field.
- Relationship Name: BillingSchedule
- Refers To: BillingSchedule
- Type: currency
- Properties: Filter, Nillable, Sort, Update
- Description: The sum of charges made to the invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The amount on a charge invoice line, including tax.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The amount on a charge invoice line that’s converted to credit.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The tax to be applied on a charge invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The amount from an invoice line that’s converted to credit.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The sum of charges made to the invoice line in corporate currency. Available in API version 63.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The total tax amount of the invoice line in corporate currency. Available in API version 63.0 and later.
- Type: date
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The date on which the invoice line amounts are converted to corporate currency. Available in API version 63.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The exchange rate that’s used to convert the invoice line amounts to corporate currency. Available in API version 63.0 and later.
- Type: string
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The currency ISO code of the corporate currency. Available in API version 63.0 and later.
- Type: string
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The description of the invoice line.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The total tax amount value in functional currency. Available in API version 66.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The charge amount value in functional currency. Available in API version 66.0 and later.
- Type: date
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The date on which the invoice line amount values are converted into functional currency. Available in API version 66.0 and later.
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The exchange rate that’s used to convert the invoice line amount values into functional currency. Available in API version 66.0 and later.
- Type: string
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ISO code of the functional currency. Available in API version 66.0 and later.
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the record that the invoice line corresponds to.
This field is a polymorphic relationship field.
- Relationship Name: GroupReferenceEntityItem
- Refers To: DebitMemoLine, OrderItem, OrderItemAdjustmentLineItem, OrderItemDetail, QuoteLineDetail, QuoteLineItem
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: Required. Indicates whether this field merges items from the same billing period (
true) or not (false).
The default value is false.
- Type: reference
- Properties: Filter, Group, Sort
- Description: Required. The ID of the invoice record that contains this invoice line.
This field is a relationship field.
- Relationship Name: Invoice
- Relationship Type: Master-detail
- Refers To: Invoice (the master object)
- Type: date
- Properties: Filter, Group, Sort, Update
- Description: Required. The end date of the billing for the service for invoice lines made from a time-based service.
- Type: date
- Properties: Filter, Group, Sort, Update
- Description: Required. The first date of the billing for the service for invoice lines made from a time-based service.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The status of the invoice line. This field is inherited from the invoice’s status.
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: Required. Indicates whether the product is usage-based (
true) or not (false).
The default value is false. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the legal entity accounting period record used in this invoice line.
This field is a relationship field.
- Relationship Name: LegalEntityAccountingPeriod
- Refers To: LegalEntyAccountingPeriod
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the legal entity record used in this invoice line.
This field is a relationship field.
- Relationship Name: LegalEntity
- Refers To: LegalEntity
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The amount of the invoice line.
This field is a calculated field.
- Type: string
- Properties: Filter, Group, idLookup, Sort, Update
- Description: Required. The name of the invoice line.
- Type: currency
- Properties: Filter, Nillable, Sort
- 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
- Description: The total payment amount that’s applied to the invoice line after unapplication of payments. This amount is calculated by subtracting the unapplied payment line invoice line amount from the applied payment line invoice line amount. Available in API version 61.0 and later.
This field is a calculated field.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The unit that’s used to measure the overage. For example, byte or minute. 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 ID of the parent invoice line record.
This field is a relationship field.
- Relationship Name: ParentInvoiceLine
- Refers To: InvoiceLine
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Description: The ID of the product that was charged or ordered to create the invoice line.
This field is a relationship field.
- Relationship Name: Product2
- Refers To: Product2
- Type: double
- Properties: Filter, Nillable, Sort, Update
- Description: The number of units of the order product that created the invoice line.
- Type: reference
- Properties: 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
- Refers To: OrderItem, OrderItemAdjustmentLineItem
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The type of transaction that created the invoice line.
Valid values are Delivery Charge, Fee, or Order Product.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The type of object that created the invoice line.
Valid values are Charge or Product.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The shipping origin of the invoiced product. Available in API version 64.0 and later.
This field is a relationship field.
- Relationship Name: ShipFromAddress
- Refers To: InvoiceAddressGroup
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the shipping address record associated with the invoice line.
This field is a relationship field.
- Relationship Name: ShippingAddress
- Refers To: InvoiceAddressGroup
- Type: currency
- Properties: Filter, Nillable, Sort, Update
- Description: The total tax for the invoice line.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The status of the tax processing of the invoice line.
Valid values are:
EstimatedPendingPosted
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The tax treatment used on this invoice line.
This field is a relationship field.
- Relationship Name: TaxTreatment
- Refers To: TaxTreatment
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Description: The type of the invoice line.
Valid values are:
AdjustmentChargeTax
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The unit of measure of the product associated with the invoice line. Available in API version 63.0 and later.
This field is a relationship field.
- Relationship Name: UnitOfMeasure
- Refers To: UnitOfMeasure
- Type: currency
- Properties: Filter, Nillable, Sort, Update
- Description: The price for one unit of the item on the invoice line.
- Type: double
- Properties: Filter, Nillable, Sort
- Description: The quantity of the usage overage that’s being invoiced. 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 ID of the usage-based product billing schedule group associated with the invoice line. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
This field is a relationship field.
- Relationship Name: UsageProductBillSchdGrp
- Refers To: BillingScheduleGroup
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the usage-based product that was charged or ordered to create the invoice line. This field is available in API version 63.0 and later with Revenue Cloud Billing license.
This field is a relationship field.
- Relationship Name: UsageProduct
- Refers To: Product2