Create an Instance rule
Creates a new Instance categorization rule.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The Teal instance ID
Body
A comparative expression to match on
Transactions. Use t
to access the Transaction object. Must
evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
"t.description == 'SHELL GAS'"
The name of the destination ledger.
"Fuel Expenses"
An arbitrary string to name the rule.
"Shell to Fuel Expenses"
The priority of the rule.
"100"
Response
The unique ID of the object.
"N6ntpvTtiA4L31vVyVat5n"
A comparative expression to match on
Transactions. Use t
to access the Transaction object. Must
evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
"t.description == 'SHELL GAS'"
The name of the destination ledger.
"Fuel Expenses"
An arbitrary string to name the rule.
"Shell to Fuel Expenses"
The priority of the rule.
"100"