Credit card transaction lines

Line items in a credit card transaction represent individual charges, adjustments or credits applied to credit and debit cards. Each line item contains detailed information such as amounts, currency, exchange rate, and tax information.

List credit card transaction lines

get/objects/cash-management/credit-card-txn-line

Returns a collection of credit card transaction lines with a key, ID, and link for each item. 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.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "13",
      • "id": "13",
      • "href": "/objects/cash-management/credit-card-txn-line/13"
      },
    • {
      • "key": "5",
      • "id": "5",
      • "href": "/objects/cash-management/credit-card-txn-line/5"
      },
    • {
      • "key": "15",
      • "id": "15",
      • "href": "/objects/cash-management/credit-card-txn-line/15"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a credit card transaction line

get/objects/cash-management/credit-card-txn-line/{key}

Returns detailed information for a specified credit card transaction line item.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the credit card transaction line item.

Example: 134
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "5299",
    • "key": "5299",
    • "creditCardTxn": {
      • "id": "1482",
      • "key": "1482",
      • "href": "/objects/cash-management/credit-card-txn/1482"
      },
    • "glAccount": {
      • "key": "259",
      • "id": "6254.04",
      • "name": "Travel",
      • "href": "/objects/general-ledger/account/259"
      },
    • "accountLabel": {
      • "key": "15",
      • "id": "Travel Expenses"
      },
    • "amount": "741.00",
    • "txnAmount": "1000.00",
    • "dimensions": {
      • "department": {
        },
      • "location": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "item": {
        },
      • "class": {
        }
      },
    • "baseLocation": {
      • "name": "Canada",
      • "key": "7",
      • "href": "/objects/company-config/location/7"
      },
    • "description": "Travel expenses - John Smith",
    • "currency": {
      • "exchangeRate": {
        },
      • "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": {
        },
      • "createdBy": "159",
      • "modifiedByUser": {
        },
      • "modifiedBy": "159"
      },
    • "taxDetail": {
      • "key": null,
      • "taxRate": null,
      • "id": null
      },
    • "isBillable": false,
    • "isBilled": false,
    • "taxEntries": [ ],
    • "href": "/objects/cash-management/credit-card-txn-line/5299"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}