SSIS Components for QuickBooks

Build 24.0.9060

CreditCardChargeExpenseItems

Create, update, delete, and query QuickBooks Credit Card Charge Expense Line Items.

Table Specific Information

CreditCardCharges may be inserted, queried, or updated via the CreditCardCharges, CreditCardChargeExpenseItems, or CreditCardChargeLineItems tables. CreditCardCharges may be deleted by using the CreditCardCharges table.

Select

By default, SupportEnhancedSQL is set to true, and the following will be honored if present. Other filters will be executed client side. If SupportEnhancedSQL is set to false, only the following filters will be honored.

QuickBooks allows only a small subset of columns to be used in the WHERE clause of a SELECT query. These columns can typically be used with only the equals or = comparison. The available columns for CreditCardCharges are Id, ReferenceNumber, Date, TimeModified, AccountName, and AccountId. TimeModified and Date may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. ReferenceNumber may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:

SELECT * FROM CreditCardChargeExpenseItems WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND ReferenceNumber LIKE '%12345%'

Insert

To add a CreditCardCharge, specify an Account and at least one Expense or Line Item. All Expense Line Item columns can be used for inserting multiple Expense Line Items for a new CreditCardCharge transaction. For example, the following will insert a new CreditCardCharge with two Expense Line Items:

INSERT INTO CreditCardChargeExpenseItems#TEMP (AccountName, ExpenseAccount ExpenseAmount) VALUES ('CalOil Credit Card', 'Job Expenses:Job Materials', 52.25)
INSERT INTO CreditCardChargeExpenseItems#TEMP (AccountName, ExpenseAccount ExpenseAmount) VALUES ('CalOil Credit Card', 'Automobile:Fuel', 235.87)
INSERT INTO CreditCardChargeExpenseItems (AccountName, ExpenseAccount, ExpenseAmount) SELECT AccountName, ExpenseAccount, ExpenseAmount FROM CreditCardChargeExpenseItems#TEMP

Columns

Name Type ReadOnly References ColumnSize Description
ID [KEY] String True 255

The unique identifier in the format CCChargeId|ItemLineId.

CCChargeId String False

CreditCardCharges.ID

255

The item identifier.

Date Date False

Date of the transaction. If it is set in the WHERE clause of a SELECT query, the pseudo columns StartDate and EndDate are overwritten with the value.

ReferenceNumber String False 21

Reference number for the transaction.

AccountName String False 1000

A reference to the credit card account. Either AccountId or AccountName must have a value when inserting.

AccountId String False

Accounts.ID

255

A reference to the credit card account. Either AccountId or AccountName must have a value when inserting.

Memo String False 5000

Memo to appear on internal reports only.

PayeeName String False 1000

Name of the payee for the transaction.

PayeeId String False

Vendors.ID

255

Id of the payee for the transaction.

IsTaxIncluded Boolean False

Determines if tax is included in the transaction amount. Available in only international editions of QuickBooks.

ExpenseLineId String True 255

The expense line item identifier.

ExpenseLineNumber String True 255

The expense line number.

ExpenseAccount String False 1000

The account name for this expense line. ExpenseAccount or ExpenseAccountId must have a value when inserting.

ExpenseAccountId String False

Accounts.ID

255

The account Id for this expense line. ExpenseAccount or ExpenseAccountId must have a value when inserting.

ExpenseAmount Decimal False

The total amount of this expense line.

ExpenseBillableStatus String False 13

The billing status of this expense line.

The allowed values are EMPTY, BILLABLE, NOTBILLABLE, HASBEENBILLED.

ExpenseCustomer String False 1000

The customer associated with this expense line.

ExpenseCustomerId String False

Customers.ID

255

The customer associated with this expense line.

ExpenseClass String False 1000

The class name of this expense.

ExpenseClassId String False

Class.ID

255

The class Id of this expense.

ExpenseMemo String False 5000

A memo for this expense line.

ExpenseTaxCode String False 3

Sales tax information for this item (taxable or nontaxable).

ExpenseTaxCodeId String False

SalesTaxCodes.ID

255

Sales tax information for this item (taxable or nontaxable).

ExchangeRate Double False

The market price for which this currency can be exchanged for the currency used by the QuickBooks company file as the home currency.

TimeModified Datetime True

When the credit card charge was last modified.

TimeCreated Datetime True

When the credit card charge was created.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060