Transaction record for charges against credit and debit cards.


List Charge Card Transactions

readByQuery

<readByQuery>
    <object>CCTRANSACTION</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use CCTRANSACTION
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Charge Card Transaction

read

<read>
    <object>CCTRANSACTION</object>
    <keys>31</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use CCTRANSACTION
keys Required string The object RECORDNO to get
fields Optional string Comma-separated list of fields on the object to get. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.

Create Charge Card Transaction

record_cctransaction

<record_cctransaction>
    <chargecardid>AMEX-1234</chargecardid>
    <paymentdate>
        <year>2017</year>
        <month>01</month>
        <day>02</day>
    </paymentdate>
    <referenceno></referenceno>
    <payee>Costco</payee>
    <description>Supplies</description>
    <supdocid></supdocid>
    <currency>USD</currency>
    <exchratetype>Intacct Daily Rate</exchratetype>
    <ccpayitems>
        <ccpayitem>
            <glaccountno>7400</glaccountno>
            <description>Office Supplies</description>
            <paymentamount>154.32</paymentamount>
            <departmentid></departmentid>
            <locationid>110-SJC</locationid>
            <customerid></customerid>
            <vendorid></vendorid>
            <employeeid></employeeid>
            <projectid></projectid>
            <itemid></itemid>
            <classid></classid>
            <contractid></contractid>
            <warehouseid></warehouseid>
        </ccpayitem>
    </ccpayitems>
</record_cctransaction>

Parameters

Name Required Type Description
chargecardid Required string Charge Card ID
paymentdate Required object Payment date
referenceno Optional string Reference number
payee Optional string Payee
description Optional string Description of transaction
supdocid Optional string Attachments ID
currency Optional string Transaction currency code
exchratedate Optional object Exchange rate date.
exchratetype Optional string Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate Optional currency Exchange rate value. Do not use if exchangeratetype is set.
customfields Optional array[customfield] Custom fields on transaction object
ccpayitems Required array[ccpayitem] Must have at least one line

paymentdate

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

ccpayitem

Name Required Type Description
glaccountno Optional string Account number. Required if not using accountlabel
accountlabel Optional string Account label. Required if not using glaccountno
description Optional string Description of line
paymentamount Required currency Transaction amount
departmentid Optional string Department ID
locationid Optional string Location ID. Required if multi-entity enabled.
customerid Optional string Customer ID
vendorid Optional string Vendor ID
employeeid Optional string Employee ID
projectid Optional string Project ID
itemid Optional string Item ID
classid Optional string Class ID
contractid Optional string Contract ID
warehouseid Optional string Warehouse ID
customfields Optional array[customfield] Custom fields on line object

Update Charge Card Transaction

update_cctransaction

<update_cctransaction key="135">
    <paymentdate>
        <year>2017</year>
        <month>01</month>
        <day>02</day>
    </paymentdate>
    <payee>Costco</payee>
    <description>Supplies</description>
    <currency>USD</currency>
    <exchratetype>Intacct Daily Rate</exchratetype>
    <updateccpayitems>
        <updateccpayitem line_num="1">
            <glaccountno>7500</glaccountno>
            <description>Copier supplies</description>
            <paymentamount>154.32</paymentamount>
        </updateccpayitem>
    </updateccpayitems>
</update_cctransaction>

Parameters

Name Required Type Description
key Required object The transaction RECORDNO to update
paymentdate Optional object Payment date
referenceno Optional string Reference number
payee Optional string Payee
description Optional string Description of transaction
supdocid Optional string Attachments ID
currency Optional string Transaction currency code
exchratedate Optional object Exchange rate date.
exchratetype Optional string Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate Optional currency Exchange rate value. Do not use if exchangeratetype is set.
customfields Optional array[customfield] Custom fields on transaction object
updateccpayitems Optional array[updateccpayitem, ccpayitem] To update an existing line use updateccpayitem otherwise to create a new line use ccpayitem

paymentdate

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

updateccpayitem

Name Required Type Description
line_num Required integer Line number to update
glaccountno Optional string Account number. Cannot use if using accountlabel instead
accountlabel Optional string Account label. Cannot use if using glaccountno instead
description Optional string Description of line
paymentamount Optional currency Transaction amount
departmentid Optional string Department ID
locationid Optional string Location ID. Required if multi-entity enabled.
customerid Optional string Customer ID
vendorid Optional string Vendor ID
employeeid Optional string Employee ID
projectid Optional string Project ID
itemid Optional string Item ID
classid Optional string Class ID
contractid Optional string Contract ID
warehouseid Optional string Warehouse ID
customfields Optional array[customfield] Custom fields on line object

ccpayitem

Name Required Type Description
glaccountno Optional string Account number. Required if not using accountlabel
accountlabel Optional string Account label. Required if not using glaccountno
description Optional string Description of line
paymentamount Required currency Transaction amount
departmentid Optional string Department ID
locationid Optional string Location ID. Required if multi-entity enabled.
customerid Optional string Customer ID
vendorid Optional string Vendor ID
employeeid Optional string Employee ID
projectid Optional string Project ID
itemid Optional string Item ID
classid Optional string Class ID
contractid Optional string Contract ID
warehouseid Optional string Warehouse ID
customfields Optional array[customfield] Custom fields on line object

Reverse Charge Card Transaction

reverse_cctransaction

<reverse_cctransaction key="132">
    <datereversed>
        <year>2017</year>
        <month>01</month>
        <day>31</day>
    </datereversed>
    <memo>Wrong card used</memo>
</reverse_cctransaction>

Parameters

Name Required Type Description
key Required string The transaction RECORDNO to reverse
datereversed Required object Reverse date
memo Optional string Memo

datereversed

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

List Charge Card Transaction Lines

readByQuery

<readByQuery>
    <object>CCTRANSACTIONENTRY</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use CCTRANSACTIONENTRY
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Charge Card Transaction Line

read

<read>
    <object>CCTRANSACTIONENTRY</object>
    <keys></keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use CCTRANSACTIONENTRY
keys Required string The object RECORDNO to get
fields Optional string Comma-separated list of fields on the object to get. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.

Provide feedback