Search accounting code rules
Search a business entity’s accounting code rules. The body is a filter set at the root, plus an optional any_of list of filter sets. The root set narrows every result; the any_of sets are combined with OR and then applied together with the root, so a rule matches when it satisfies the root set and at least one any_of entry. An empty body returns every rule for the business entity.
A filter set has the same shape at the root and in each any_of entry:
- A field group —
tag_groups,tags,types,subtypes,business_presets,expense_accounting_codes,liability_accounting_codes— carries anincludeand/orexcludelist of values.includematches rules whose field is one of the listed values;excludematches rules whose field is none of them, keeping rules where the field is unset. - Ahas_<field>boolean —has_tag_group,has_tag,has_type,has_subtype,has_business_preset,has_expense_accounting_code,has_liability_accounting_code— matches rules where the field is set (true) or unset (false).
Field groups and presence booleans within a set combine with AND.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The business entity whose accounting code rules to search.
A list of filter sets combined with OR; a rule matches when it satisfies at least one entry. Each entry has the same shape as the root filter set. An omitted or empty list applies no OR condition.

