Opportunity item surcharges

Surcharges are a way of adding a percentage or fixed fee to rental products. You can set them up in System Setup.

A surcharge belongs to a surcharge group. A surcharge group typically has multiple surcharges, e.g. a "Cleaning" group might have "Glassware cleaning" and "Cutlery cleaning" surcharges. You can set one surcharge per surcharge group against a product or opportunity item.

On opportunities, surcharges are included in an opportunity item's charge total. You can hover over an opportunity item to see how a charge total is calculated and see the surcharge charge included.

Use Liquid to work with surcharges on an opportunity, for example:

  • calculating the total for a surcharge or surcharge group

  • deducting surcharges from opportunity items

On invoices generated from an opportunity, a line is created for each surcharge group.

Surcharge objects are always accessed within a forloop that iterates for each surcharge.

Document layouts

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

Opportunity

Returns opportunity item objects for opportunity items on an opportunity

{% for item in order.items %}
  {% if item.is_item? %}
    {% for surcharge in item.surcharges %}
      {{ surcharge.name }}
    {% endfor %} 
  {% endif %}
{% endfor %}

You may also use order.products:

Member

Returns opportunity item objects for opportunity items on any opportunities linked to an organization.

Returns opportunity item objects for opportunity items on any live opportunities linked to an organization.

Discussion templates

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

Opportunity

Returns opportunity item objects for opportunity items on an opportunity.

You may also use order.products:

Organization

Returns opportunity item objects for opportunity items on any opportunities linked to an organization.

Returns opportunity item objects for opportunity items on any live opportunities linked to an organization.

charge

Returns an opportunity item surcharge charge total.

Input

Output

group_name

Returns an opportunity item surcharge group name.

Input

Output

name

Returns an opportunity item surcharge name.

Input

Output

original_charge

Returns an opportunity item surcharge charge total before deal pricing.

Input

Output

Last updated

Was this helpful?