AvaTax
DynamicRuleInputModel
A Dynamic Rule customizes AvaTax's default tax calculation to match a company's specific requirements. It is composed of modular conditions and actions that can adjust an item's taxability, tax base, and tax rate, modify transaction fields and addresses, allocate or split line items, update location codes, and more.
Unique integer ID for this rule.
The definition of the rule, which includes its custom variables and execution graph.
The name of the rule. Must be unique within a company.
Optional description of the rule.
The first date at which this rule applies.
The last date for which this rule applies. This must be on or after the effective date for the rule to be valid.
Whether the rule is ever allowed to execute.
Whether to continue the transaction if this rule fails.
If set to false, a failure will cause the entire transaction to return an error.
If set to true, a failure will only stop execution of this rule.
Whether this is a draft rule. Draft rules are not executed
on transactions by default. To execute a draft rule,
it must be enabled and the TestTransaction endpoint
must be used with appropriate settings.
The execution priority of the rule. Within each execution step, rules are executed in ascending priority order. This means that, within a step, rules with higher values see the effects of and may overwrite the results of rules with lower values.