Create an Instance rule
Creates a new Instance categorization rule.
Authorizations
Bearer authentication header of the form Bearer , where is your auth token.
Headers
The Teal instance ID
Body
A pattern matching expression using the
match(pattern, field) function. Use t to access the Transaction
object. The pattern supports regular expression syntax.
Read more: Categorization guide
"match(\".*(?i)SHELL GAS\", t.description)"
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
Successful Response
The unique ID of the object.
"N6ntpvTtiA4L31vVyVat5n"
A pattern matching expression using the
match(pattern, field) function. Use t to access the Transaction
object. The pattern supports regular expression syntax.
Read more: Categorization guide
"match(\".*(?i)SHELL GAS\", t.description)"
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"