Create a rule for automatically approving source events. When a pending source event matches ALL conditions in a rule, it will be automatically approved and converted to a usage event. Rules are evaluated in order (lowest order number first), and the first matching rule triggers auto-approval. Maximum 10 rules per source.
API key authentication
Conditions that must ALL be met (AND logic) for auto-acceptance. Sample values: customerEmail domain='@trusted.com' AND amount lessThan=1000, customerId equals='org_abc123' AND billableMetricId equals='bm_tokens', subscriptionId equals='sub_xyz789' AND quantity greaterThan=100
1 - 10 elementsHuman-readable name for the source rule
Unique identifier for a source
Detailed description of what this source rule does
Whether this rule should be active immediately
Evaluation priority (0-999). Lower numbers are evaluated first. First matching rule triggers auto-acceptance.
x >= 0Rule created
An auto-acceptance rule that automatically approves source events matching specified conditions. Rules help automate the approval process for trusted customers or specific transaction patterns.
Unique identifier for the rule
List of conditions that must ALL be met (AND logic)
When the rule was created
User ID who created the rule
Detailed description of what this source rule does
Whether this rule is currently active
Total number of times this rule has been evaluated
Last time this rule was evaluated against an invoice
Number of times this rule has matched and auto-accepted an invoice
Human-readable name for the source rule
Priority order for rule evaluation (lower numbers are evaluated first)
ID of the source this rule belongs to
When the rule was last updated