Transaction record for a deposit. A deposit captures the transfer of funds from a company's undeposited funds account to a bank account when collected and held payments are moved to a bank.
To record a deposit, the payment must already be received against an undeposited funds account. For more information, see About deposits.
Returns a collection with a key, ID, and link for each deposit. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Cash Management |
---|---|
User type | Business |
Permissions | List, View Deposits |
OK
Bad Request
{- "ia::result": [
- {
- "key": "1718",
- "id": "1718",
- "href": "/objects/cash-management/deposit/1718"
}, - {
- "key": "1717",
- "id": "1717",
- "href": "/objects/cash-management/deposit/1717"
}, - {
- "key": "3228",
- "id": "3228",
- "href": "/objects/cash-management/deposit/3228"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new deposit.
Subscription | Cash Management |
---|---|
User type | Business |
Permissions | List, Add Deposits |
txnDate required | string <date> Date when the transaction occurred. Example: "2023-09-21" | ||||||||
required | object Bank account in which to make the deposit. | ||||||||
| |||||||||
id | string Identifier for the deposit object. Same as Example: "1234" | ||||||||
depositId | string ID to correlate the deposit transaction record with the actual deposit slip from the bank. Example: "Deposit slip 09/21/2023" | ||||||||
description | string Description of the deposit. Example: "Cash deposit for online service" | ||||||||
postingDate | string <date> Date the deposit was posted. Example: "2021-09-23" | ||||||||
object Supporting document attached to the deposit. | |||||||||
| |||||||||
Array of objects Line items for the deposited receipts. | |||||||||
Array
| |||||||||
Array of objects Funds that are part of this deposit. | |||||||||
Array
|
Created
Bad Request
{- "txnDate": "2024-01-22",
- "description": "Monday Deposit 0314-001",
- "depositId": "Deposit slip 01/22/2023",
- "bankAccount": {
- "id": "BOA"
}, - "attachment": {
- "id": "18"
}, - "details": [
- {
- "id": "123"
}
]
}
{- "ia::result": {
- "key": "500",
- "id": "500",
- "href": "/objects/cash-management/deposit/500"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified deposit.
Subscription | Cash Management |
---|---|
User type | Business |
Permissions | List, View Deposits |
key required | string System-assigned unique key for the deposit. |
OK
Bad Request
{- "ia::result": {
- "id": "628",
- "key": "628",
- "bankAccount": {
- "id": "BOA",
- "name": "Bank of America"
}, - "txnDate": "2023-11-15",
- "depositId": "Deposit Slip 2023-11-15",
- "description": "Deposit for pay-go online services",
- "baseCurrency": "USD",
- "txnCurrency": "USD",
- "totalEntered": "120.50",
- "txnTotalEntered": "120.50",
- "voidPaymentKey": null,
- "reversalDate": null,
- "reversedVoidPaymentKey": null,
- "reversedDate": null,
- "state": null,
- "reconciliationState": "uncleared",
- "audit": {
- "createdDateTime": "2023-11-15T20:55:20Z",
- "modifiedDateTime": "2023-11-15T20:55:25Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "attachment": {
- "key": "18",
- "id": "Attach-01",
- "href": "/objects/company-config/attachment/18"
}, - "lines": [
- {
- "id": "1253",
- "key": "1253",
- "deposit": {
- "id": "628",
- "key": "628",
- "depositType": "cd",
- "href": "/objects/cash-management/deposit/628"
}, - "glAccount": {
- "id": "33",
- "key": "33",
- "accountNumber": "1070",
- "name": "Undeposited Funds",
- "href": "/objects/general-ledger/account/33"
}, - "arAccountLabel": {
- "label": null,
- "id": null,
- "key": null
}, - "amount": "120.50",
- "txnAmount": "120.50",
- "dimensions": {
- "department": {
- "key": null,
- "id": null,
- "name": null
}, - "location": {
- "key": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}
}, - "baseLocation": {
- "key": "1",
- "name": "United States of America",
- "href": "/objects/company-config/location/1"
}, - "description": null,
- "currency": {
- "exchangeRate": {
- "date": "2022-01-23",
- "typeId": "-1",
- "rate": 1
}, - "txnCurrency": "USD",
- "baseCurrency": "USD"
}, - "status": "active",
- "audit": {
- "createdDateTime": "2023-11-15T20:55:20Z",
- "modifiedDateTime": "2023-11-15T20:55:25Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/cash-management/deposit-line/1253"
}
], - "details": [
- {
- "id": "624",
- "key": "624",
- "undepositedFund": {
- "key": "624",
- "id": "624",
- "href": "/objects/cash-management/undeposited-fund/624"
}, - "depositedFund": {
- "key": "624",
- "id": "624",
- "href": "/objects/cash-management/deposited-fund/624"
}, - "summary": "Cash Management Transactions: 2023/12/20 Batch",
- "customerID": null,
- "customerName": null,
- "payee": "Toulouse - 03",
- "totalEntered": "120.50",
- "txnTotalEntered": "120.50",
- "currency": "USD",
- "paymentMethod": "cash",
- "documentNumber": null,
- "deposit": {
- "id": "628",
- "key": "628",
- "href": "/objects/cash-management/deposit/628"
}, - "href": "/objects/cash-management/deposit-detail/624"
}
], - "href": "/objects/cash-management/deposit/628"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Reverse a deposit
key required | string System-assigned key for the deposit. Example: "49" |
reversedDate required | string <date> Date this transaction is reversed. Example: "2024-04-15" |
notes | string Notes or comments about the reason for the reverse of deposit. Example: "Reversed the deposit for duplicate entry" |
OK
Bad Request
{- "key": "49",
- "reversedDate": "2024-04-15",
- "notes": "Reversed the deposit for duplicate entry"
}
{- "key": "50",
- "id": "50",
- "href": "/objects/cash-management/deposit/50",
- "state": "reversed"
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "cash-management/deposit" | ||||||||
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 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 response. Example: 100 |
OK
Bad Request
{- "object": "cash-management/deposit",
- "filters": [
- {
- "$eq": {
- "reconciliationState": "uncleared"
}
}
], - "fields": [
- "key",
- "id",
- "bankAccount.name",
- "txnDate",
- "totalEntered"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "239",
- "id": "239",
- "bankAccount.name": "HSBC",
- "txnDate": "2013-04-11",
- "totalEntered": "500.00"
}, - {
- "key": "1163",
- "id": "1163",
- "bankAccount.name": "HSBC",
- "txnDate": "2019-10-04",
- "totalEntered": "500.00"
}, - {
- "key": "1512",
- "id": "1512",
- "bankAccount.name": "HSBC",
- "txnDate": "2023-12-13",
- "totalEntered": "1999.95"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}