New feature: Vello Postcards east Read more

home

Browse documentation

Browse documentationLearn new skillsDiscover resourcesSee all integrations
search
search
Browse documentationLearn new skillsDiscover resourcesSee all integrations

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

search
thumbnail

Browse documentation

Browse documentation Contents

close
  • expand_more

    ezyVet

    • expand_more

      Reference information

      • expand_more

        Template variables

        • expand_more

          Template variables (Twig)

          • Twig template variables: Invoice

          • Twig template variables: Invoice line item

  • Vello

  • ezyVet Scan

  • ezyVet Go

  • Vet Radar

  • ezyVet Data Lake

  • IDEXX SmartFlow

  • ezyVet Connect

  • Knowledge Center: New and published

  • Pilot features

  1. Browse documentation
  2. arrow_right
  3. ezyVet
  4. arrow_right
  5. Reference information
  6. arrow_right
  7. Template variables
  8. arrow_right
  9. Template variables (Twig)

list_altBrowse documentation

chevron_left

thumbnailBrowse documentation

Template variables (Twig)

chevron_right

Twig template variables: Invoice line item

NameFunction
{{ invoiceline.ProductName }}Shows the name of the product.
Note: This variable shows the product name that is in the Description column of the invoice line item.
{{ invoiceline.Product.Name }}Shows the name of the product.
Note: This variable shows the product name that is in the configuration of the product.
{{ invoiceline.Quantity }}Shows the quantity of the product.
{{ invoiceline.Date }}Shows the date of the invoice line item.
{{ invoiceline.SalesPerson }}Shows the contact record of the sales person of the invoice line item.
{{ invoiceline.TotalBeforeDiscount }}Shows the total dollar quantity of the invoice line item without the discount. The value does not include tax.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.TotalBeforeDiscount(true) }}Shows the total dollar quantity of the invoice line item without the discount. The value includes tax.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.TotalDiscount }}Shows the total discount quantity of the invoice line item. This variable uses a dollar quantity to show the value.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.TotalDiscountPercent }}Shows the total discount quantity of the invoice line item. This variable uses a percentage to show the value.
Tip: To show the percentage rounded to two decimal places, enter {{ invoiceline.TotalDiscountPercent }}|round(2)
{{ invoiceline.Total(true) }}Shows the total dollar value of the invoice line item. The value includes tax.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.Total }}Shows the total dollar value of the invoice line item. The value does not include tax.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.PriceAfterDiscount(true) }}Shows the total price of the invoice line item with the discount.
Note: To show a value that is easy to read, use this variable with the moneyformat Twig filter.
{{ invoiceline.Product.PrintableName }}Shows the content of the Printable Name box of the product's configuration.
Note: The content of the Printable Name box is the alternative product name.
{{ line.NonBundleTotalDiscount }}Shows the discount quantity of a line item of a fixed-price product bundle.
Note: The {{ line.NonBundleTotalDiscount }} variable only shows the discount quantity that a staff member sets or that a price adjustment rule sets.
{{ line.NonBundleTotalDiscountPercent }}Shows the discount percentage of a line item of a fixed-price product bundle.
Note: The {{ line.NonBundleTotalDiscountPercent }} variable only shows the discount quantity that a staff member sets or that a price adjustment rule sets.
Parent topic: Template variables (Twig)
Related concepts
  • Twig template variables: Full list
  • Twig template variables: Business
  • Twig template variables: Clinical record
  • Twig template variables: Contact record
  • Twig template variables: Department
  • Twig template variables: Estimate
  • Twig template variables: Invoice
  • Twig template variables: Patient
  • Twig template variables: Payment
  • Twig template variables: Remote payments
  • Twig template variables: Restricted veterinary medicine (RVM)
  • Twig template variables: Statement
  • Twig template variables: Veterinarian
Reference
ezyVet

Last updated: October 3, 2024

chevron_leftchevron_right

Related Articles:

  • Template variables (Twig)
  • Twig template variables: Full list
  • Twig template variables: Business
  • Twig template variables: Clinical record
  • Twig template variables: Contact record
  • Twig template variables: Department
  • Twig template variables: Estimate
  • Twig template variables: Invoice
  • Twig template variables: Patient
  • Twig template variables: Payment
  • Twig template variables: Remote payments
  • Twig template variables: Restricted veterinary medicine (RVM)
  • Twig template variables: Statement
  • Twig template variables: Veterinarian

ezyVet-footer

Need help?
Go to ezyVet customer support

Products

Tour

Features

Pricing

Book a demo

Browse integrations

Build an integration

Become an integration partner

System requirements

ezyVet Go

Solutions

General practice

Emergency

Specialty

Equine

Corporate groups

Universities

Production animals

Mobile

Resources

Customer stories

Blog

Events

Webinars

Tips and tricks

ezyVet TV

Starting a new practice

Customer referral

Support

Company

About us

Contact us

Careers

Community forums

Security

Merch

We’re here for you.

Terms and conditions Privacy policy Cookie statement Cookie list ezyVet sign-in