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

    • chevron_right

      Getting started

    • chevron_right

      Clients

    • chevron_right

      Patients

    • chevron_right

      Appointments

    • chevron_right

      Products

    • chevron_right

      Veterinary care

    • chevron_right

      Invoicing

    • chevron_right

      Payments

    • chevron_right

      Refunds

    • chevron_right

      Financial controls

    • chevron_right

      Xero

    • chevron_right

      Insurance

    • chevron_right

      Document management

    • chevron_right

      File attachments

    • chevron_right

      Printing

    • chevron_right

      Electronic signatures

    • chevron_right

      Inventory

    • chevron_right

      Staff management

    • chevron_right

      ezyVet administration

    • expand_more

      Reference information

      • ezyVet system requirements

      • expand_more

        Template variables

        • chevron_right

          Template variables (classic template system)

        • expand_more

          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: Invoice line item

          • 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

        • chevron_right

          Source code of standard Twig templates

      • Maximum file sizes of attachments and emails

      • ezyVet record icons

      • chevron_right

        Permissions and access

      • Examples of video documentation for ezyVet

    • chevron_right

      Customer support information

    • chevron_right

      Release notes

    • chevron_right

      Glossary

  • chevron_right

    Vello

  • chevron_right

    ezyVet Scan

  • chevron_right

    ezyVet Go

  • chevron_right

    Vet Radar

  • chevron_right

    ezyVet Data Lake

  • chevron_right

    IDEXX SmartFlow

  • chevron_right

    ezyVet Connect

  • chevron_right

    Knowledge Center: New and published

  • chevron_right

    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

NameClassic template system equivalent?Function
{{ invoice.Name }}NoShows the name of the invoice.
Note: This variable uses this format for the invoice name:
  • <invoice-number>-<invoice-date>
{{ invoice.StatusName }}{InvoiceStatus}Shows the status of the invoice.
{{ invoice.ClientContactName }}No Shows the name of the client of the invoice.
{{ invoice.TaxBreakDownString }}{InvoiceTaxBreakdown}Shows the dollar quantity of each tax rate of the invoice.
{{ invoice.PaymentMethods }}{InvoicePaymentMethod}Shows the payment method of the invoice.
{{ invoice.TotalDiscountAmountIncTax }}{InvoiceTotalDiscountAmountIncTax}Shows the total discount quantity of the invoice. The value includes tax.
{{ invoice.TotalDiscountPercent }}{InvoiceTotalDiscountPercentage}Shows the total discount quantity of the invoice.
{{ invoice.InvoiceTypeName }}{InvoiceTypeName}Shows the type of the invoice (for example, if the invoice is a credit note).
{{ invoice.OrderNumber }}{InvoiceOrderNumber}Shows the purchase order numbers of the invoice.
{{ invoice.ApprovedAt }}No Shows the approval date of the invoice.
Note: To show a date value that is easy to read, use this variable with the dateformat Twig filter.
  • {{ invoice.ApprovedAt }}|dateformat
{{ invoice.FreightGstRate }}NoShows the GST rate of the freight of the invoice.
{{ invoice.FreightGst }}No Shows the total GST of the freight of the invoice.
{{ invoice.Freight }}NoShows the total dollar value of the freight of the invoice. The value does not include tax.
{{ invoice.Outstanding }}No Shows the total outstanding dollar quantity of the invoice.
{{ invoice.Due }}{InvoiceDue}Shows the total dollar value that is due of the invoice.
{{ invoice.Allocated }}No Shows the dollar quantity that a person paid for the invoice.
Note: ezyVet calculates the value as the total dollar quantity of the invoice minus the total outstanding dollar quantity.
{{ invoice.Paid }}{InvoicePaid}Shows the total dollar value paid by a client for the invoice.
{{ invoice.Gst }}{InvoiceGst}Shows the total tax of the invoice.
{{ invoice.Total }}{InvoiceTotal}Shows the total dollar value of the invoice.
{{ invoice.Date }}{InvoiceDate}Shows the date of the invoice.
{{ invoice.DueDate }}{InvoiceDueDate}Shows the due date of the invoice.
{{ invoice.CustomerReference }}{InvoiceCustomerReference}Shows the reference number of the invoice.
{{ invoice.AllocatedHtml }}NoShows the payment allocation values of the invoice.
Note: To show each payment allocation value in a new line, enter {{ invoice.getAllocatedHTML | nl2br }}
Note: To show a | character between each payment allocation value, enter {{ invoice.getAllocatedHTML | replace({'\n': ' | '}) }}
Note: You can select a different character to show between each payment allocation value. For example, you can show a comma ( , ) between each value. To select a different character, enter {{ invoice.getAllocatedHTML | replace({'\n': <enter-different-character-here>}) }}

Replace <enter-different-character-here> with the character that you want to show. For example, to show a comma, enter {{ invoice.getAllocatedHTML | replace({'\n': ,}) }}

{{ invoice.InvoiceItemsHtml }}NoShows the expense items of the invoice.
{{ invoice.Comments }}{InvoiceComments}Shows all comments of the Comments section of the invoice.
Note: This variable shows the content without formatting and without line breaks.
{{ invoice.Department.TaxNumber }}{DepartmentTaxNumber}Shows the tax number of the department that person set for the invoice.
{{ invoice.Consult.TherapeuticSpecifics }}NoShows the content of the Specifics box of therapeutic records of the clinical record.
{{ financial.DivisionTaxNumber }}NoShows the tax number of the department that you are signed in to.
{{ invoice.Consult.Date|dateformat }}{ConsultDate}Shows the date of the clinical record.
{{ invoice.ClientContact.AllContacts }}NoShows the name of the contact record and its Secondary Contact name.
Note: The template variable shows & between the two names.
Note: If the contact record does not have a Secondary Contact name, the template variable shows the name of the contact record only.
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 line item
  • 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: November 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 line item
  • 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
arrow_upward