Power BI Connector for QuickBooks

Build 24.0.9175

ItemReceiptExpenseItems

Handles QuickBooks Item Receipt Expense Line Items, supporting creation, updates, deletion, and queries for purchase expense tracking.

Table Specific Information

ItemReceipts may be inserted, queried, or updated via the ItemReceipts, ItemReceiptExpenseItems, or ItemReceiptLineItems tables. ItemReceipts may be deleted by using the ItemReceipts table.

This table has a Custom Fields column. See the Custom Fields page for more information.

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 ItemReceipts are Id, Date, ReferenceNumber, Payee, PayeeId, VendorName, VendorId, Account, AccountId, and TimeModified. TimeModified and Date may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. VendorName and ReferenceNumber may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:

SELECT * FROM ItemReceipts WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND VendorName LIKE '%Patton Hardware Supplies%' AND ReferenceNumber LIKE '12345%'

Insert

To add an ItemReceipt, specify the Vendor, Date, 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 ItemReceipt transaction. For example, the following will insert a new ItemReceipt with two Expense Line Items:

INSERT INTO ItemReceiptExpenseItems#TEMP (VendorName, Date, ExpenseAccount, ExpenseAmount) VALUES ('Patton Hardware Supplies', '1/1/2011', 'Utilities:Telephone', 52.25)
INSERT INTO ItemReceiptExpenseItems#TEMP (VendorName, Date, ExpenseAccount, ExpenseAmount) VALUES ('Patton Hardware Supplies', '1/1/2011', 'Professional Fees:Accounting', 235.87)
INSERT INTO ItemReceiptExpenseItems (VendorName, Date, ExpenseAccount, ExpenseAmount) SELECT VendorName, Date, ExpenseAccount, ExpenseAmount FROM ItemReceiptExpenseItems#TEMP

Columns

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

A unique identifier for the expense line item, formatted as ItemReceiptId|ExpenseLineId.

ItemReceiptId String False

ItemReceipts.ID

255

The unique identifier for the item receipt, sourced from the ItemReceipts table.

VendorName String False 1000

The name of the vendor associated with the item receipt. Either VendorName or VendorId must be provided when inserting.

VendorId String False

Vendors.ID

255

The unique identifier of the vendor associated with the item receipt. Either VendorName or VendorId must be provided when inserting.

Date Date False

The date the transaction occurred or was recorded.

ReferenceNumber String False 21

A reference number assigned to this transaction for identification.

AccountsPayable String False 1000

The name of the accounts payable account associated with the item receipt.

AccountsPayableId String False

Accounts.ID

255

The unique identifier of the accounts payable account associated with the item receipt.

Memo String False 5000

An optional note or memo describing the item receipt.

Amount Decimal True

The total monetary value of the item receipt.

TxnNumber Integer True

A unique transaction number assigned to differentiate this transaction from others, apart from the Quickbooks generated ID.

ExchangeRate Double False

The exchange rate used to convert this transaction's currency to the home currency of the QuickBooks file. Requires QBXML Version 8.0 or higher.

IsTaxIncluded Boolean False

Indicates whether the transaction amount includes tax. This feature is available only in international editions of QuickBooks.

ExpenseLineId String True 255

A unique identifier for this specific expense line.

ExpenseLineNumber String True 255

The line number of this expense within the item receipt.

ExpenseAccount String False 1000

The account name to which this expense line is associated. Either ExpenseAccount or ExpenseAccountId must be provided when inserting.

ExpenseAccountId String False

Accounts.ID

255

The unique identifier of the account to which this expense line is associated. Either ExpenseAccount or ExpenseAccountId must be provided when inserting.

ExpenseAmount Decimal False

The monetary value of this specific expense line.

ExpenseBillableStatus String False 13

The billing status of this expense line, indicating whether it is billable, non-billable, or has already been billed.

使用できる値は次のとおりです。Empty, Billable, NotBillable, HasBeenBilled

デフォルト値はEmptyです。

ExpenseCustomer String False 1000

The name of the customer linked to this expense line, if applicable.

ExpenseCustomerId String False

Customers.ID

255

The unique identifier of the customer linked to this expense line, if applicable.

ExpenseClass String False 1000

The class name categorizing this expense.

ExpenseClassId String False

Class.ID

255

The unique identifier of the class categorizing this expense.

ExpenseTaxCode String False 3

The name of the sales tax code associated with this expense. This field is available only in QuickBooks UK and Canada editions.

ExpenseTaxCodeId String False

SalesTaxCodes.ID

255

The unique identifier of the sales tax code associated with this expense. This field is available only in QuickBooks UK and Canada editions.

ExpenseCustomFields String True

Custom fields specific to this expense item, formatted as XML.

CustomFields String False

Custom fields related to the item receipt, formatted as XML.

EditSequence String True 16

An identifier used for version control of this object in QuickBooks.

TimeModified Datetime True

The date and time when the item receipt was last updated.

TimeCreated Datetime True

The date and time when the item receipt was initially created.

Pseudo-Columns

Pseudo Column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
LinkToTxnId String

The unique identifier of a transaction (such as a purchase order) to which the new item receipt is linked. Available only during insertion.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175