create_filter
Create custom filters to organize and view specific companies in billing sections like invoices, customers, or subscriptions by defining rules with operators and attributes.
Instructions
Create a company filter. POST /companies/filters. Required: displayName, section, isDefault, rules (array of { operatorId, attributeId, settingValues }). Optional per rule: operatorDisplayName. Section: billRuns, companyInbox, companyInvoices, companyLogs, companyNotifications, companyUpcomingSchedule, creditNotes, customers, ...
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | Yes | Display name (required) | |
| section | Yes | Section (required). One of: subscriptions, invoices, customers, products, orders, etc. | |
| isDefault | Yes | Set as default filter (required) | |
| rules | Yes | Rules array (required). Each: operatorId (number), attributeId (number), settingValues (array of { value }), optional operatorDisplayName |