Bank transaction rules determine whether incoming bank transactions are matched to existing Sage Intacct transactions or used to create new transactions. A match
rule matches incoming bank transactions to existing Sage Intacct transactions. A create
rule uses incoming bank transactions to create new Sage Intacct transactions.
Returns a collection of bank transaction rules with a key, ID, and link for each rule. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/cash-management/bank-txn-rule/1"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/cash-management/bank-txn-rule/3"
}, - {
- "key": "4",
- "id": "4",
- "href": "/objects/cash-management/bank-txn-rule/4"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new bank transaction rule.
ruleId required | string User-assigned identifier of the bank transaction rule. Example: "match-by-amount-1" | ||||||||||||||||||
name required | string Name of the bank transaction rule. Example: "match-by-amount" | ||||||||||||||||||
ruleType required | string Default: "match" Type of bank transaction rule. A Example: "match" | ||||||||||||||||||
required | Array of objects non-empty Specifies a filter used in the bank transaction rule. | ||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||
description | string Description of the bank transaction rule. Example: "Match bank transactions by amount" | ||||||||||||||||||
object Location where the bank transaction rule was created. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects Specifies a group used in the bank transaction rule. | |||||||||||||||||||
Array
| |||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||
Array of objects Specifies the match entry used in a bank transaction | |||||||||||||||||||
Array
| |||||||||||||||||||
object Create rule object used to create new transactions, required when the rule type is set to | |||||||||||||||||||
|
Created
Bad Request
{- "ruleId": "GL-JE-157",
- "description": "Rule to create journal entry.",
- "name": "Create Journal Entry rule",
- "ruleType": "create",
- "createRuleObject": {
- "objectType": "journalEntry",
- "journalEntryTemplate": {
- "id": "3"
}
}, - "filterAttributes": [
- {
- "dataSource": "bankTransaction",
- "bankTxnAttribute": "postingDate",
- "operator": "greaterThan",
- "value": "01/03/2025",
- "order": 1
}, - {
- "dataSource": "bankTransaction",
- "bankTxnAttribute": "transactionType",
- "operator": "equals",
- "value": "debit",
- "order": 2
}
]
}
{- "ia::result": {
- "key": "15",
- "id": "15",
- "href": "/objects/cash-management/bank-txn-rule/15"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified bank transaction rule.
key required | string System-assigned key for the bank transaction rule. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "79",
- "key": "79",
- "ruleId": "BOA-CC-TXN-2119",
- "name": "BOA Create CC txn from bank txn",
- "description": "BOA rule to create CC txn from bank txn.",
- "ruleType": "create",
- "createRuleObject": {
- "objectType": "journalEntry",
- "journalEntryTemplate": {
- "id": "3",
- "key": "3",
- "href": "/objects/cash-management/journal-entry-template/3"
}, - "creditCardTxnTemplate": {
- "id": null,
- "key": null
}
}, - "status": "active",
- "location": {
- "key": null
}, - "rulesetCount": 0,
- "audit": {
- "createdDateTime": "2025-03-27T16:13:03Z",
- "modifiedDateTime": "2025-03-27T16:13:03Z",
- "createdByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "createdBy": "159",
- "modifiedByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "modifiedBy": "159"
}, - "entity": {
- "key": "46",
- "id": "Western Region",
- "name": "Western Region",
- "href": "/objects/company-config/entity/46"
}, - "filterAttributes": [
- {
- "id": "81",
- "key": "81",
- "bankTransactionRule": {
- "id": "79",
- "key": "79",
- "href": "/objects/cash-management/bank-txn-rule/79"
}, - "dataSource": "bankTransaction",
- "intacctTxnAttribute": null,
- "bankTxnAttribute": "postingDate",
- "operator": "greaterThan",
- "value": "07/03/2025",
- "order": 1,
- "href": "/objects/cash-management/bank-txn-rule-filter/81"
}, - {
- "id": "82",
- "key": "82",
- "bankTransactionRule": {
- "id": "79",
- "key": "79",
- "href": "/objects/cash-management/bank-txn-rule/79"
}, - "dataSource": "bankTransaction",
- "intacctTxnAttribute": null,
- "bankTxnAttribute": "transactionType",
- "operator": "equals",
- "value": "debit",
- "order": 1,
- "href": "/objects/cash-management/bank-txn-rule-filter/82"
}
], - "groupAttributes": [ ],
- "matchRuleAttributes": [ ],
- "href": "/objects/cash-management/bank-txn-rule/79"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing bank transaction rule by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the bank transaction rule. Example: 99 |
ruleId | string User-assigned identifier of the bank transaction rule. Example: "match-by-amount-1" | ||||||||||||||||||
name | string Name of the bank transaction rule. Example: "match-by-amount" | ||||||||||||||||||
description | string Description of the bank transaction rule. Example: "Match bank transactions by amount" | ||||||||||||||||||
ruleType | string Default: "match" Type of bank transaction rule. A Example: "match" | ||||||||||||||||||
object Location where the bank transaction rule was created. | |||||||||||||||||||
| |||||||||||||||||||
Array of objects non-empty Specifies a filter used in the bank transaction rule. | |||||||||||||||||||
Array (non-empty)
| |||||||||||||||||||
Array of objects Specifies a group used in the bank transaction rule. | |||||||||||||||||||
Array
| |||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||
Array of objects Specifies the match entry used in a bank transaction | |||||||||||||||||||
Array
| |||||||||||||||||||
object Create rule object used to create new transactions, required when the rule type is set to | |||||||||||||||||||
|
OK
Bad Request
{- "matchRuleAttributes": [
- {
- "key": "33",
- "order": 2
}, - {
- "key": "34",
- "intacctTxnAttribute": "postingDate",
- "bankTxnAttribute": "postingDate",
- "operator": "within",
- "value": "4",
- "order": 1
}
]
}
{- "ia::result": {
- "key": "28",
- "id": "28",
- "href": "/objects/cash-management/bank-txn-rule/28"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a bank transaction rule.
key required | string System-assigned key for the bank transaction rule. Example: 99 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "cash-management/bank-txn-rule" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or has (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "cash-management/bank-txn-rule",
- "filters": [
- {
- "$eq": {
- "ruleType": "match"
}
}
], - "fields": [
- "key",
- "id",
- "ruleID",
- "name",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "79",
- "id": "79",
- "ruleId": "AMT_DOC_MATCH_003",
- "name": "Match by amount and document number.",
- "href": "/objects/cash-management/bank-txn-rule/79"
}, - {
- "key": "102",
- "id": "102",
- "ruleId": "MATCH_AMT_DATE_RANGE_015",
- "name": "Match amount plus date range.",
- "href": "/objects/cash-management/bank-txn-rule/102"
}, - {
- "key": "119",
- "id": "119",
- "ruleId": "JE-TXN-MATCH_1504",
- "name": "Match all journal entry transactions.",
- "href": "/objects/cash-management/bank-txn-rule/119"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}