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 the query service 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
}
}