Liquid syntax
  • Welcome
  • Introduction
    • What is Liquid syntax?
    • Liquid operators
    • Liquid objects
    • Liquid tags
    • Liquid filters
    • Best practices
  • Information
    • Attributes
    • Consolidation
    • Custom fields
    • Date filter reference
    • Deal pricing
    • Special items
  • PDF renderer
    • PDF document limitations
  • General
    • Address detail
    • Attachments
    • Company
    • Emails
    • Links
    • Phones
    • Store
  • Activity
    • Activity
  • Inventory Check
    • Inventory check (stock check)
    • Inventory check items (stock check items)
  • Invoices & Credits
    • Invoice
    • Invoice items
    • Invoice transactions
    • Invoice taxes
  • Opportunities
    • Opportunity
    • Opportunity items
    • Opportunity item assets
    • Opportunity item surcharges
    • Opportunity costs
    • Opportunity return item assets
    • Consolidated opportunity items
    • Consolidated opportunities
  • People & Organizations
    • Contact
    • Organization
    • User
    • Vehicle
    • Venue
  • Products
    • Product
    • Product group
    • Charging period
    • Product accessories
    • Product assets
    • Stock level
  • Project
    • Project
  • Purchase orders
    • Purchase order
    • Purchase order items
  • Quarantine
    • Quarantine
  • Service
    • Service
  • Testing & inspection
    • Inspection results
    • Inspection result tasks
Powered by GitBook
On this page
  • Document layouts
  • Discussion templates
  • id
  • name
  • rate
  • tax
  • taxable_charge

Was this helpful?

  1. Invoices & Credits

Invoice taxes

The invoice tax object contains information about taxes on an invoice.

PreviousInvoice transactionsNextOpportunity

Last updated 6 years ago

Was this helpful?

In some regions, it’s a requirement to show a breakdown of each tax applied on an invoice. Use the invoice tax objects to get information about each tax applied to an invoice.

Tax objects are always accessed within a forloop that iterates for each tax.

Document layouts

The tax object can be accessed in document layouts created against the following modules:

Invoice

{% for tax in invoice.taxes %}
  {{ tax.name }}
{% endfor %}

Opportunity

Returns invoice taxes for invoices linked to a particular opportunity.

{% for invoice in order.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

Member

Returns invoice taxes for invoices linked to a particular organization.

{% for invoice in member.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

Returns invoice taxes for active invoices linked to a particular organization.

{% for invoice in member.live_invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

Discussion templates

The tax object can be accessed in discussion templates created against the following modules:

Invoice

{% for tax in invoice.taxes %}
  {{ tax.name }}
{% endfor %}

Opportunity

Returns invoice taxes for invoices linked to a particular opportunity

{% for invoice in opportunity.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

Organization

Returns invoice taxes for invoices linked to a particular organization.

{% for invoice in organisation.invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

Returns invoice taxes for active invoices linked to a particular organization.

{% for invoice in organisation.live_invoices %}
  {% for tax in invoice.taxes %}
    {{ tax.name }}
  {% endfor %}
{% endfor %}

id

Returns the invoice tax ID.

The ID is an internal reference for a record. It's not exposed in our web interface.

Input

{{ tax.id }}

Output

1

name

Returns the invoice tax name.

Input

{{ tax.name }}

Output

Florida State Sales Tax

rate

Returns the tax rate.

Input

{{ tax.rate }}

Output

6.0

tax

Returns the amount of tax charged for this tax rate.

Input

{{ tax.tax }}

Output

15.0

taxable_charge

Returns the value of goods charged at this tax rate.

Input

{{ tax.taxable_charge }}

Output

250.0

Use to change the way that the number is formatted.

the currency filter or a number filter
The default invoice document includes a breakdown of taxes applied