Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Voucher → Create Voucher Query

AI-generated

Summary

Builds an Orderly VoucherQuery object for use with List Vouchers. Merges advanced query fields first, then applies the common voucher filters; the result is normalized to Orderly protobuf JSON.

Inputs

  • Available To Account ID JSON — An AccountId object to set as AvailableTo; defaults to an empty object, which is omitted.
  • Provided By Account ID JSON — An AccountId object to set as ProvidedBy; defaults to an empty object, which is omitted.
  • Active On — A date/time string to set as ActiveOn; omitted when blank.
  • Include Invisible — When true, sets IncludeInvisible to true. Defaults to false, which is omitted.
  • Deleted — When true, sets Deleted to true. Defaults to false, which is omitted.
  • Additional Query JSON — An object of advanced VoucherQuery fields. Common fields above are applied afterward and override matching fields. Defaults to {}.

Output shape

One n8n output item per input item, containing a VoucherQuery JSON object.

The object is converted using the VoucherQuery protobuf schema, so unknown fields in Additional Query JSON are ignored and implicit default values are not emitted. Invalid JSON or a non-object Additional Query JSON value causes an error; with Continue On Fail enabled, the corresponding item instead contains an error field.

Links

Discussion