JDBC Driver for QuickBooks Online

Build 23.0.8839

VendorCreditLineItems

Create, update, delete, and query QuickBooks Vendor Credit Line Items.

Table Specific Information

VendorCredits may be inserted, queried, or updated via the VendorCredits or VendorCreditLineItems tables. VendorCredits may be deleted by using the VendorCredits table.

Select

All filterable columns support the following operators:

  • =
  • !=
  • >=
  • <=
  • >
  • <
  • IN
  • LIKE
  • CONTAINS

The driver processes other filters client-side within the driver.

Insert

To add a VendorCredit, specify the Vendor, TotalAmt, and at least one Line Item. The following shows an example of inserting multiple VendorCredits, each with a single line. To insert a VendorCredit with multiple lines, see the example on the VendorCredits table.

INSERT INTO VendorCreditLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) VALUES ('21', 0.01, 'AccountBasedExpenseLineDetail', '4', '41', 0.03)
INSERT INTO VendorCreditLineItems#TEMP (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) VALUES ('21', 0.02, 'AccountBasedExpenseLineDetail', '4', '41', 0.03)
INSERT INTO VendorCreditLineItems (VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt) SELECT VendorRef, Line_Amount, Line_DetailType, Line_AccountBasedExpenseLineDetail_CustomerRef, Line_AccountBasedExpenseLineDetail_AccountRef, TotalAmt FROM VendorCreditLineItems#TEMP

Columns

Name Type ReadOnly References Filterable Sortable Description
LineId [KEY] String True False True

The Id of the line item on the vendor credit.

VendorCreditId [KEY] String False

VendorCredits.Id

True False

The Id of the vendor credit.

SyncToken String True False False

Version number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.

MetaData_CreateTime Datetime True True True

The time the record was created.

MetaData_LastUpdatedTime Datetime True True True

The time the record was last updated.

DocNumber String False True True

The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm.

TxnDate Date False True True

The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements

PrivateNote String False False False

A private note about the transaction. This note will not appear on the transaction records by default.

DepartmentRef String False

Departments.Id

False False

The reference number for the transaction.

DepartmentRef_Name String True

Departments.Name

False False

The reference number for the transaction.

Line_Id String False False False

The Id of the line item.

Line_Description String False False False

The description of the line item that appears in the printed record.

Line_Amount Decimal False False False

Total amount of the charges or discounts for the given line item. Includes the charges and allowances, but it excludes the tax amount.

Line_DetailType String False False False

The detail type of the line item.

Line_AccountBasedExpenseLineDetail_CustomerRef String False

Customers.Id

False False

The Id of the customer in the expense.

Line_AccountBasedExpenseLineDetail_CustomerRef_Name String True

Customers.DisplayName

False False

The name of the customer in the expense.

Line_AccountBasedExpenseLineDetail_ClassRef String False

Class.Id

False False

The Id of the class for the expense.

Line_AccountBasedExpenseLineDetail_ClassRef_Name String True

Class.FullyQualifiedName

False False

The name of the class for the expense.

Line_AccountBasedExpenseLineDetail_AccountRef String False

Accounts.Id

False False

The Id of the account associated with the expense.

Line_AccountBasedExpenseLineDetail_AccountRef_Name String True

Accounts.Name

False False

The name of the account associated with the expense.

Line_AccountBasedExpenseLineDetail_BillableStatus String False False False

The billable status of this type of line item.

Line_AccountBasedExpenseLineDetail_TaxCodeRef String False

TaxCodes.Id

False False

The reference to the tax code used for this line.

Line_ItemBasedExpenseLineDetail_ItemRef String False

Items.Id

False False

The Id of the item associated with the expense.

Line_ItemBasedExpenseLineDetail_ItemRef_Name String True

Items.Name

False False

The name of the item associated with the expense.

Line_ItemBasedExpenseLineDetail_ClassRef String False

Class.Id

False False

The Id of the class for the expense.

Line_ItemBasedExpenseLineDetail_ClassRef_Name String True

Class.FullyQualifiedName

False False

The name of the class for the expense.

Line_ItemBasedExpenseLineDetail_UnitPrice Decimal False False False

The unit price of the item for the expense.

Line_ItemBasedExpenseLineDetail_Qty Double False False False

The number of items for the line.

Line_ItemBasedExpenseLineDetail_TaxCodeRef String False

TaxCodes.Id

False False

The reference to the tax code used for this line.

Line_ItemBasedExpenseLineDetail_CustomerRef String False

Customers.Id

False False

The Id of the customer in the expense.

Line_ItemBasedExpenseLineDetail_CustomerRef_Name String True

Customers.DisplayName

False False

The name of the customer in the expense.

Line_ItemBasedExpenseLineDetail_BillableStatus String False False False

The billable status of this type of line item.

VendorRef String False

Vendors.Id

True False

The Id of the vendor for this transaction.

VendorRef_Name String True

Vendors.DisplayName

False False

The name of the vendor for this transaction.

APAccountRef String False

Accounts.Id

True True

The accounts-payable account to which the bill is credited. If the company uses a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables.

APAccountRef_Name String True

Accounts.Name

False False

The accounts-payable account to which the bill is credited. This account is implied if the company uses a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables.

TotalAmt Decimal False True True

The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts.

CurrencyRef String False False False

The Id of the currency used in the transaction.

CurrencyRef_Name String True False False

The name of the currency used in the transaction.

ExchangeRate Decimal False False False

Currency exchange rate. Valid only if the company file is set up to use the multicurrency feature. In QuickBooks, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. This field is available for the UK, AU, and CA editions.

GlobalTaxCalculation String False False False

Method in which tax is applied. This field is valid in the UK, AU, and CA editions.

使用できる値は次のとおりです。TaxExcluded, TaxInclusive, NotApplicable

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