Skip to main content

Quote Line Items

Note that for merge tags for line items, the number in brackets in the merge tag corresponds to which line the item is on the invoice, quote, or subscription.

For example, if you want to see the name of the first line item on an quote, you would use

{{quote.line_items[0].item_name}}.

If you wanted to see the name of the second line item, you would use the merge tag

{{quote.line_items[1].item_name}}.

Merge Tag

Type

Description

{{quote.line_items[0].line_item_id}}integerQuote Line ID #
{{quote.line_items[0].quote_id}}integerQuote ID #
{{quote.line_items[0].item_id}}stringItem ID # for this line
{{quote.line_items[0].item_name}}stringItem name
{{quote.line_items[0].item_accounting_sku}}stringItem accounting SKU
{{quote.line_items[0].item_external_key}}stringItem external key
{{quote.line_items[0].item_token}}stringItem token
{{quote.line_items[0].item_type}}stringItem type
{{quote.line_items[0].quote_line_bundle_id}}integerQuote line bundle ID #
{{quote.line_items[0].tierset_id}}integerTierset ID # for this line
{{quote.line_items[0].descrip}}stringDescription
{{quote.line_items[0].line_rate}}float(Deprecated - see the "tierset" attribute)
{{quote.line_items[0].line_quantity}}floatQuantity
{{quote.line_items[0].line_subtotal}}floatLine subtotal
{{quote.line_items[0].line_total}}floatLine total
{{quote.line_items[0].expire_recurs}}integer# of invoices to occur on before expiring
{{quote.line_items[0].tax_taxable}}floatThe total amount that was taxable
{{quote.line_items[0].tax_taxed}}floatThe amount that tax was calculated from
{{quote.line_items[0].tax_total}}floatThe tax amount for this line
{{quote.line_items[0].tax_id}}string
{{quote.line_items[0].tax_group_id}}string
{{quote.line_items[0].is_setup}}boolean(Deprecated)
{{quote.line_items[0].is_base}}boolean(Deprecated)
{{quote.line_items[0].is_free}}booleanWhether or not this line item was free (equal to $0.00)
{{quote.line_items[0].is_recurring}}booleanWhether or not this line is recurring
{{quote.line_items[0].is_taxed}}booleanWhether or not this line item was taxed/subject to VAT
{{quote.line_items[0].is_discount}}booleanWhether or not this line item is a discount (less than $0.00)
{{quote.line_items[0].custom_1}}mixedCustom field #1
{{quote.line_items[0].custom_2}}mixedCustom field #2
{{quote.line_items[0].custom_3}}mixedCustom field #3
{{quote.line_items[0].custom_4}}mixedCustom field #4
{{quote.line_items[0].custom_5}}mixedCustom field #5
{{quote.line_items[0].custom_6}}mixedCustom field #6
{{quote.line_items[0].custom_7}}mixedCustom field #7
{{quote.line_items[0].custom_8}}mixedCustom field #8
{{quote.line_items[0].custom_9}}mixedCustom field #9
{{quote.line_items[0].custom_10}}mixedCustom field #10
{{quote.line_items[0].custom_11}}mixedCustom field #11
{{quote.line_items[0].custom_12}}mixedCustom field #12
{{quote.line_items[0].custom_13}}mixedCustom field #13
{{quote.line_items[0].custom_14}}mixedCustom field #14
{{quote.line_items[0].custom_15}}mixedCustom field #15
{{quote.line_items[0].custom_16}}mixedCustom field #16
{{quote.line_items[0].custom_17}}mixedCustom field #17
{{quote.line_items[0].custom_18}}mixedCustom field #18
{{quote.line_items[0].custom_19}}mixedCustom field #19
{{quote.line_items[0].custom_20}}mixedCustom field #20
{{quote.line_items[0].subscribe_prorate_from_datetime}}datetime
{{quote.line_items[0].subscribe_prorate_to_datetime}}datetime
{{quote.line_items[0].tierset}}arrayPricing information