Bank transaction assignment rules automatically assign a customer to an unmatched bank deposit transaction in a checking or savings account based on pre-defined criteria.
For more information, read about assignment rules for bank transactions in the Sage Intacct Help Center.
Returns a collection with a key, ID, and link for each bank transaction assignment 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-assignment-rule/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/cash-management/bank-txn-assignment-rule/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new bank transaction assignment rule.
ruleId required | string User-assigned identifier of the bank transaction assignment rule. Example: "ASSIGN_CUST_DEP_001" | ||||||||
name required | string Name of the bank transaction assignment rule. Example: "Assign Customer to Unmatched Deposit Transactions" | ||||||||
required | Array of objects non-empty Filter attributes for the bank transaction assignment rule. | ||||||||
Array (non-empty)
| |||||||||
description | string Description of the bank transaction assignment rule. Example: "Links unmatched bank deposit transactions to a customer based on keywords in the transaction description." | ||||||||
accountType | string Default: "bank" Indicates the associated account to which the assignment rule applies, either a Example: "bank" | ||||||||
object Specifies the customer associated with the bank transaction assignment rule. | |||||||||
| |||||||||
object Specifies the bank account that receives the payment from the customer. | |||||||||
| |||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "customer": {
- "key": "15"
}, - "bankAccount": {
- "key": "157",
- "id": "Chase - 340293",
- "href": "/objects/cash-management/bank-account/157"
}, - "ruleId": "ASSIGN_CUST_DEP_001",
- "name": "Assign Customer to Unmatched Deposit Transactions",
- "description": "Links unmatched bank deposit transactions to a customer based on keywords in the transaction description.",
- "filterAttributes": [
- {
- "bankTxnAttribute": "txnType",
- "operator": "equals",
- "value": "debit",
- "filterOrder": 1
}, - {
- "bankTxnAttribute": "description",
- "operator": "contains",
- "value": "Blue Wave Digital",
- "filterOrder": 2
}
]
}
{- "ia::result": {
- "key": "3",
- "id": "3",
- "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified bank transaction assignment rule.
key required | string System-assigned unique key for the bank transaction assignment rule. Example: 153 |
OK
Bad Request
{- "ia::result": {
- "id": "3",
- "key": "3",
- "ruleId": "ASSIGN_CUST_DEP_001",
- "name": "Assign Customer to Unmatched Deposit Transactions",
- "description": "Links unmatched bank deposit transactions to a customer based on keywords in the transaction description.",
- "assignmentType": "customer",
- "status": "active",
- "customer": {
- "key": "15",
- "id": "BTI",
- "href": "/objects/accounts-receivable/customer/15"
}, - "accountType": "bank",
- "bankAccount": {
- "key": "157",
- "id": "Chase - 340293",
- "href": "/objects/cash-management/bank-account/157"
}, - "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"
}, - "filterAttributes": [
- {
- "id": "10",
- "key": "10",
- "bankTxnAssignmentRule": {
- "id": "3",
- "key": "3",
- "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}, - "bankTxnAttribute": "txnType",
- "operator": "equals",
- "value": "credit",
- "filterOrder": 1,
- "href": "/objects/cash-management/bank-txn-assignment-rule-filter/10"
}, - {
- "id": "11",
- "key": "11",
- "bankTxnAssignmentRule": {
- "id": "3",
- "key": "3",
- "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}, - "bankTxnAttribute": "description",
- "operator": "contains",
- "value": "Blue Wave Digital",
- "filterOrder": 2,
- "href": "/objects/cash-management/bank-txn-assignment-rule-filter/11"
}
], - "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing bank transaction assignment rule by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the bank transaction assignment rule. Example: 153 |
ruleId | string User-assigned identifier of the bank transaction assignment rule. Example: "ASSIGN_CUST_DEP_001" | ||||||||
name | string Name of the bank transaction assignment rule. Example: "Assign Customer to Unmatched Deposit Transactions" | ||||||||
description | string Description of the bank transaction assignment rule. Example: "Links unmatched bank deposit transactions to a customer based on keywords in the transaction description." | ||||||||
accountType | string Default: "bank" Indicates the associated account to which the assignment rule applies, either a Example: "bank" | ||||||||
object Specifies the customer associated with the bank transaction assignment rule. | |||||||||
| |||||||||
object Specifies the bank account that receives the payment from the customer. | |||||||||
| |||||||||
Array of objects non-empty Filter attributes for the bank transaction assignment rule. | |||||||||
Array (non-empty)
| |||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "ruleId": "ASSIGN_CUST_DEP_001",
- "name": "Assign Customer to Unmatched Deposit Transactions",
- "description": "Links unmatched bank deposit transactions to a customer based on keywords in the transaction description.",
- "filterAttributes": [
- {
- "key": "10",
- "filterOrder": 2
}, - {
- "key": "11",
- "bankTxnAttribute": "description",
- "operator": "contains",
- "value": "1000",
- "filterOrder": 1
}
]
}
{- "ia::result": {
- "key": "3",
- "id": "3",
- "href": "/objects/cash-management/bank-txn-assignment-rule/3"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes a bank transaction assignment rule.
key required | string System-assigned unique key for the bank transaction assignment rule. Example: 153 |
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
}
}