Skip to main content

Overview

On this page, we delve into a variety of real-world scenarios of conditions for triggering approval policies. These scenarios are designed to help you understand how approval policies can be automatically set to specific invoices and how to customize these conditions to address specific operational, compliance, and governance needs within your organization.
  • The conditions mentioned on this page are designed using the TesouroScript and must be inserted into the trigger field. Check the Evaluated string section for further information about the syntax. - The "{event_name == "submitted_for_approval"} " condition is mandatory in triggers. - The if, then, and else statements are not allowed in triggers. - When a payable has enforce_approval_policy_id set, the TesouroScript trigger conditions are ignored.

By invoice amount

Set an approval policy for all invoices worth more than 300 USD:
If you receive invoices in multiple currencies, you can convert the amount to some base currency to use the same threshold for all invoices:

With specific currencies

Set an approval policy for all invoices with specific currencies, in this case, USD and CAD:

With specific tags

Set an approval policy for all invoices containing one of the specific tags:

From a specific project

Set an approval policy for all invoices related to specific projects:

For specific counterparts

Set an approval policy for all invoices from a specific list of counterparts:

For specific users

Set an approval policy for all invoices from a specific list of organization users:

By amount, currency, tags, AND specific counterpart

Set an approval policy for all invoices worth more than 1000 USD, from a specific counterpart AND with specific tags:

By counterpart, plus amount OR specific tag

Set an approval policy for all invoices from a specific counterpart worth more than $300 OR with a specific tag: