Credit card transaction records contain comprehensive details about each credit card transaction, for example, payment amounts, exchange rate information and applicable taxes. Each record can contain multiple line items, each with individual amounts, currency information, payment amounts and tax details.
Returns a collection with a key, ID, and link for each credit card transaction. 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": "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.
txnDate required | string <date> Date of the transaction. Example: "2021-11-30" | ||||||||||||||||||||||
object Credit card account used for this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
referenceNumber | string Reference number for the 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": "2025-04-11",
- "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 - BTI",
- "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.
key required | string System-assigned unique key for the credit card transaction. Example: 135 |
OK
Bad Request
{- "ia::result": {
- "id": "27",
- "key": "27",
- "creditCardAccount": {
- "id": "A0000001",
- "key": "1",
- "href": "/objects/cash-management/credit-card-account/1"
}, - "txnDate": "2025-04-11",
- "audit": {
- "createdDateTime": "2025-04-11T12:56:46Z",
- "modifiedDateTime": "2025-04-11T12:56:46Z",
- "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"
}, - "referenceNumber": "CCTxn-001",
- "payee": "Vendor-AAA",
- "description": "Travel expenses in december",
- "currency": {
- "baseCurrency": "USD",
- "txnCurrency": "CAD",
- "exchangeRate": {
- "date": "2025-04-11",
- "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": "John Smith",
- "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 - Smith",
- "currency": {
- "exchangeRate": {
- "date": "2025-04-11",
- "rate": 0.7306
}, - "txnCurrency": "CAD",
- "baseCurrency": "USD"
}, - "lineNumber": 1,
- "totalPaid": "0.00",
- "txnTotalPaid": "0.00",
- "audit": {
- "createdDateTime": "2025-04-11T12:56:46Z",
- "modifiedDateTime": "2025-04-11T12:56:46Z",
- "createdByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "createdBy": "159",
- "modifiedByUser": {
- "key": "159",
- "href": "/objects/company-config/user/159"
}, - "modifiedBy": "159"
}, - "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.
For more information, see Edit a credit card transaction in the Sage Intacct Help Center.
key required | string System-assigned unique key for the credit card transaction. Example: 135 |
txnDate | string <date> Date of the transaction. Example: "2021-11-30" | ||||||||||||||||||||||
object Credit card account used for this transaction. | |||||||||||||||||||||||
| |||||||||||||||||||||||
referenceNumber | string Reference number for the 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 - John Smith",
- "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.
For more information, see Delete a credit card transaction in the Sage Intacct Help Center.
key required | string System-assigned unique key for the credit card transaction. Example: 135 |
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
}
}