Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Notification → Create Voucher Query

AI-generated

Summary

Builds a protobuf JSON VoucherQuery for use with Orderly’s List Vouchers action. Merges the additional query object first, then applies the common voucher filters; the result is normalized against the VoucherQuery schema.

Inputs

  • Available To Account ID JSON — Account ID object used for the query’s AvailableTo filter. Defaults to {}; an empty object is omitted.
  • Provided By Account ID JSON — Account ID object used for the query’s ProvidedBy filter. Defaults to {}; an empty object is omitted.
  • Active On — Date/time value for the ActiveOn filter. Blank values are omitted.
  • Include Invisible — When true, sets IncludeInvisible to true. Defaults to false; false is omitted.
  • Deleted — When true, sets Deleted to true. Defaults to false; false is omitted.
  • Additional Query JSON — JSON object of advanced query fields. Defaults to {}. Common fields above are applied afterward and override matching fields; unknown fields are ignored during protobuf conversion.

Output shape

A single item per input item, with a VoucherQuery object in json.

The object is converted to Orderly protobuf JSON, so fields with implicit default values may be omitted. Invalid JSON or a value that is not a JSON object causes an error; with Continue On Fail enabled, the item instead contains an error string.

Links

Discussion