Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Statistics → Create Voucher Query

AI-generated

Summary

Builds an Orderly VoucherQuery protobuf JSON object for use with List Vouchers. Merges advanced query fields first, then applies the available-to and provided-by accounts, active date, visibility, and deleted filters; empty or unset common fields are omitted.

Inputs

  • Available To Account ID JSON — AccountId object used for the AvailableTo filter; defaults to an empty object, which is omitted.
  • Provided By Account ID JSON — AccountId object used for the ProvidedBy filter; defaults to an empty object, which is omitted.
  • Active On — Date or time string used for the ActiveOn filter; an empty value is omitted.
  • Include Invisible — Boolean filter for IncludeInvisible; defaults to false, which is omitted.
  • Deleted — Boolean filter for Deleted; defaults to false, which is omitted.
  • Additional Query JSON — JSON object of advanced query fields. Common fields above are applied afterward and can replace matching fields.

Output shape

One n8n item per input item, containing the constructed VoucherQuery object in its json field.

The object is normalized through the Orderly VoucherQuery protobuf schema; unknown fields in Additional Query JSON are ignored. Invalid JSON or a non-object value in an object input causes an error, or an error item if Continue On Fail is enabled.

Links

Discussion