Transaction record for charges against credit and debit cards.
Returns a collection with a key, ID, and link for each credit card transaction. 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 Credit card transactions |
OK
Bad Request
{- "ia::result": [
- {
- "key": "2",
- "id": "2",
- "href": "/objects/cash-management/credit-card-txn/2"
}, - {
- "key": "4",
- "id": "4",
- "href": "/objects/cash-management/credit-card-txn/4"
}, - {
- "key": "5",
- "id": "5",
- "href": "/objects/cash-management/credit-card-txn/5"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new credit card transaction.
Subscription | Cash Management |
---|---|
User type | Business |
Permissions | List, View, Add Credit card transactions |
txnDate required | string <date> Date of the credit card transaction. Example: "2021-11-30" | ||||||||||||||||||||||
object Credit card account used for this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
referenceNumber | string Reference number for the credit card transaction, such as the transaction number from the credit card statement. Example: "Ref--cc12" | ||||||||||||||||||||||
payee | string Name of the payee for the transaction. Example: "Vend-1" | ||||||||||||||||||||||
description | string Brief description of the purpose of the transaction. Example: "Meals" | ||||||||||||||||||||||
object Supporting document attached to this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
object Currency details for the transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
isInclusiveTax | boolean Default: false Indicates whether the transaction is tax inclusive. Example: true | ||||||||||||||||||||||
object Tax solution used to calculate and capture taxes on this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects Line items for the credit card transaction. | |||||||||||||||||||||||
Array
|
Created
Bad Request
{- "txnDate": "2024-04-5",
- "creditCardAccount": {
- "id": "A0000001"
}, - "referenceNumber": "CCTxn-001",
- "payee": "Vendor-AAA",
- "description": "Travel expenses",
- "isInclusiveTax": true,
- "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "CAD",
- "exchangeRate": {
- "date": "2023-12-04",
- "typeId": "Intacct Daily Rate",
- "rate": 0.7306
}
}, - "taxSolution": {
- "key": "5",
- "id": "Canadian Sales Tax - SYS"
}, - "attachment": {
- "id": "111",
- "key": "2"
}, - "lines": [
- {
- "glAccount": {
- "key": "326"
}, - "totalTxnAmount": "500.00",
- "dimensions": {
- "department": {
- "id": "PS"
}, - "location": {
- "id": "7"
}, - "project": {
- "id": "QSF - BTI"
}, - "customer": {
- "id": "BTI"
}, - "vendor": {
- "id": "210"
}, - "employee": {
- "id": "12"
}, - "item": {
- "id": "DELL"
}, - "class": {
- "id": "WSD"
}
}, - "description": "Travel expenses - Eberhardt",
- "taxEntries": [
- {
- "purchasingTaxDetail": {
- "key": "65"
}
}
], - "isBillable": false,
- "isBilled": false
}
]
}
{- "ia::result": {
- "id": "12",
- "key": "12",
- "href": "/objects/cash-management/credit-card-txn/12"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified credit card transaction.
Subscription | Cash Management |
---|---|
User type | Business |
Permissions | List, View Credit card transactions |
key required | string System-assigned unique key for the credit card transaction. |
OK
Bad Request
{- "ia::result": {
- "id": "27",
- "key": "27",
- "creditCardAccount": {
- "id": "A0000001",
- "key": "1",
- "href": "/objects/cash-management/credit-card-account/1"
}, - "txnDate": "2024-04-05",
- "audit": {
- "createdDateTime": "2024-04-05T00:00:00Z",
- "modifiedDateTime": "2024-04-05T06:18:08Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "entity": {
- "key": "46",
- "id": "Western Region",
- "name": "Western Region",
- "href": "/objects/company-config/entity/46"
}, - "referenceNumber": "CCTxn-001",
- "payee": "Vendor-AAA",
- "description": "Travel expenses in december",
- "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "CAD",
- "exchangeRate": {
- "date": "2024-04-5",
- "typeId": "Intacct Daily Rate",
- "rate": 0.7306
}
}, - "totalEntered": "365.30",
- "txnTotalEntered": "500.00",
- "totalPaid": "0.00",
- "txnTotalPaid": "0.00",
- "totalSelected": "0.00",
- "txnTotalSelected": "0.00",
- "totalDue": "365.30",
- "txnTotalDue": "500.00",
- "whenPaid": null,
- "reversedBy": {
- "id": null,
- "key": null,
- "reversalDate": null
}, - "reversalOf": {
- "id": null,
- "key": null,
- "txnDate": null
}, - "state": "posted",
- "reconciliationState": "uncleared",
- "isInclusiveTax": true,
- "taxSolution": {
- "key": "5",
- "id": "Canadian Sales Tax - SYS",
- "href": "/objects/tax/tax-solution/5"
}, - "transactionSource": null,
- "attachment": {
- "id": "111",
- "key": "20",
- "href": "/objects/company-config/attachment/20"
}, - "lines": [
- {
- "id": "92",
- "key": "92",
- "creditCardTxn": {
- "id": "27",
- "key": "27",
- "href": "/objects/cash-management/credit-card-txn/27"
}, - "glAccount": {
- "key": "326",
- "id": "6700.04",
- "name": "CC Other Charges & Fees",
- "href": "/objects/general-ledger/account/326"
}, - "accountLabel": {
- "key": null,
- "id": null
}, - "amount": "320.44",
- "txnAmount": "438.60",
- "dimensions": {
- "department": {
- "key": "28",
- "id": "PS",
- "name": "Professional Services",
- "href": "/objects/company-config/department/28"
}, - "location": {
- "key": "7",
- "id": "7",
- "name": "Canada",
- "href": "/objects/company-config/location/7"
}, - "project": {
- "key": "35",
- "id": "QSF - BTI",
- "name": "Quick Start Financial - Berkeley Technology Inc",
- "href": "/objects/projects/project/35"
}, - "customer": {
- "key": "14",
- "id": "BTI",
- "name": "Berkeley Technology Inc",
- "href": "/objects/accounts-receivable/customer/14"
}, - "vendor": {
- "key": "56",
- "id": "210",
- "name": "Office Supply and Copier Co.",
- "href": "/objects/accounts-payable/vendor/56"
}, - "employee": {
- "key": "27",
- "id": "12",
- "name": "Eberhardt",
- "href": "/objects/company-config/employee/27"
}, - "item": {
- "key": "117",
- "id": "DELL",
- "name": "DELL Laptops",
- "href": "/objects/inventory-control/item/117"
}, - "class": {
- "key": "3",
- "id": "WSD",
- "name": "Whole Sales Distribution",
- "href": "/objects/company-config/class/3"
}
}, - "baseLocation": {
- "name": "Calgary",
- "key": "30",
- "href": "/objects/company-config/location/30"
}, - "description": "Travel expenses - Eberhardt",
- "currency": {
- "exchangeRate": {
- "date": "2023-12-04",
- "rate": 0.7306
}, - "txnCurrency": "CAD",
- "baseCurrency": "USD"
}, - "lineNumber": 1,
- "totalPaid": "0.00",
- "txnTotalPaid": "0.00",
- "audit": {
- "createdDateTime": "2024-04-05T06:18:08Z",
- "modifiedDateTime": "2024-04-05T06:18:08Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "isBillable": false,
- "isBilled": false,
- "totalTxnAmount": "500.00",
- "taxEntries": [
- {
- "txnTaxAmount": "30.70",
- "baseTaxAmount": "22.43",
- "purchasingTaxDetail": {
- "id": "BC PST Standard Rate Services Purchase - CA",
- "key": "67",
- "href": "/objects/tax/purchasing-tax-detail/67"
}, - "id": "94",
- "key": "94",
- "taxRate": 7,
- "creditCardTxnLine": {
- "id": "92",
- "key": "92",
- "href": "/objects/cash-management/credit-card-txn-line/92"
}, - "href": "/objects/cash-management/credit-card-txn-tax-entry/94"
}, - {
- "txnTaxAmount": "30.70",
- "baseTaxAmount": "22.43",
- "purchasingTaxDetail": {
- "id": "BC PST Standard Rate Goods Purchase - CA",
- "key": "65",
- "href": "/objects/tax/purchasing-tax-detail/65"
}, - "id": "96",
- "key": "96",
- "taxRate": 7,
- "creditCardTxnLine": {
- "id": "92",
- "key": "92",
- "href": "/objects/cash-management/credit-card-txn-line/92"
}, - "href": "/objects/cash-management/credit-card-txn-tax-entry/96"
}
], - "href": "/objects/cash-management/credit-card-txn-line/92"
}
], - "href": "/objects/cash-management/credit-card-txn/27"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing credit card transaction by setting field values. Any fields not provided remain unchanged. Credit card transactions can be updated if they are:
For more information, see Edit a credit card transaction in the Sage Intacct Help Center.
Subscription | Cash Management |
---|---|
User type | Business, Employee |
Permissions | List, View, Edit Credit card transactions |
key required | string System-assigned unique key for the credit card transaction. |
txnDate | string <date> Date of the credit card transaction. Example: "2021-11-30" | ||||||||||||||||||||||
object Credit card account used for this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
referenceNumber | string Reference number for the credit card transaction, such as the transaction number from the credit card statement. Example: "Ref--cc12" | ||||||||||||||||||||||
payee | string Name of the payee for the transaction. Example: "Vend-1" | ||||||||||||||||||||||
description | string Brief description of the purpose of the transaction. Example: "Meals" | ||||||||||||||||||||||
object Supporting document attached to this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
object Currency details for the transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
isInclusiveTax | boolean Default: false Indicates whether the transaction is tax inclusive. Example: true | ||||||||||||||||||||||
object Tax solution used to calculate and capture taxes on this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects Line items for the credit card transaction. | |||||||||||||||||||||||
Array
|
OK
Bad Request
{- "description": "Travel expenses in december",
- "attachment": {
- "id": "travel-receipt"
}, - "isInclusiveTax": true,
- "lines": [
- {
- "key": "92",
- "creditCardTxn": {
- "key": "27"
}, - "description": "Travel expenses - Eberhardt",
- "totalTxnAmount": "500.00",
- "taxEntries": [
- {
- "purchasingTaxDetail": {
- "key": "67"
}
}, - {
- "purchasingTaxDetail": {
- "key": "65"
}
}
]
}
]
}
{- "ia::result": {
- "id": "12",
- "key": "12",
- "href": "/objects/cash-management/credit-card-txn/12"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a credit card transaction. You can delete a credit card transaction if it is:
For more information, see Delete or reverse a credit card transaction in the Sage Intacct Help Center.
Subscription | Cash Management |
---|---|
User type | Business, Employee |
Permissions | List, View, Delete Credit card transactions |
key required | string System-assigned unique key for the credit card transaction. |
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
}
}
Reverses a credit card transaction. You can reverse a credit card transaction when:
For more information, see Reverse a credit card transaction in the Sage Intacct Help Center.
Subscription | Cash Management |
---|---|
User type | Business, Employee |
Permissions | List, View, Reverse Credit card transactions |
key | string System-assigned key for the credit card transaction. Example: "49" |
reversedDate | string <date> Date this transactions is reversed. Example: "2024-04-15" |
memo | string Notes or comments about the reason for the reverse of credit card transaction. Example: "Reversed the credit card transaction for duplicate entry" |
OK
Bad Request
{- "key": "49",
- "reversedDate": "2024-04-15",
- "memo": "Reversed the credit card transaction for duplicate entry"
}
{- "key": "50",
- "id": "50",
- "href": "/objects/cash-management/credit-card-txn/50",
- "state": "reversed"
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "cash-management/credit-card-txn" | ||||||||
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/credit-card-txn",
- "filters": [
- {
- "$eq": {
- "state": "paid"
}
}
], - "fields": [
- "key",
- "id",
- "whenPaid",
- "totalPaid"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "1092",
- "id": "1092",
- "whenPaid": "2023-12-15",
- "totalPaid": "100.00"
}, - {
- "key": "1148",
- "id": "1148",
- "whenPaid": "2024-01-01",
- "totalPaid": "500.00"
}, - {
- "key": "1330",
- "id": "1330",
- "whenPaid": "2024-02-15",
- "totalPaid": "1000.00"
}, - {
- "key": "1332",
- "id": "1332",
- "whenPaid": "2024-04-30",
- "totalPaid": "2000.00"
}
], - "ia::meta": {
- "totalCount": 4,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}