Invoice Sync
Examples
Country is France
{
"==": [
{ "var": "customer.country" },
"France"
]
}
Country is France or FR
{
"or": [
{ "==": [ { "var": "customer.country" }, "France" ] },
{ "==": [ { "var": "customer.country" }, "FR" ] }
]
}
Country is not France or FR
{
"and": [
{ "!=": [ { "var": "customer.country" }, "France" ] },
{ "!=": [ { "var": "customer.country" }, "FR" ] }
]
}
Expressions Documentation
Expressions are converted to JsonLogic, allowing flexible logic-based evaluation. Below is an example:
Example: Country is USA or US
{
"or": [
{ "==": [ { "var": "customer.country" }, "USA" ] },
{ "==": [ { "var": "customer.country" }, "US" ] }
]
}