Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions1078

Expense Item → Create If Not Exists

AI-generated

Summary

Create an Autotask Expense Item from the mapped fields when no matching record is found. Optionally select fields for duplicate detection; when a match exists, return it, update selected fields, or raise an error according to the configured options.

Inputs

  • Dedup Fields Names or IDs — Fields used to identify a duplicate. Leave empty to skip deduplication and always create an item.
  • Update Fields Names or IDs — Fields to compare against a found duplicate; differing values are updated unless Error On Duplicate is enabled.
  • Error On Duplicate — When enabled, throw an error instead of returning a found duplicate.
  • Fields (required) — Map the Expense Item fields to create or compare/update.

Output shape

A list of items containing the created Expense Item or the matching existing item.

The supplied source pack does not include the Expense Item execution module, so the exact duplicate lookup, update behavior, and returned record shape cannot be confirmed from source. The duplicate options and their stated behavior are taken from the operation properties.

Links

Discussion