QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

expense_customer_id Property

The customer associated with this expense line.

Syntax

def get_expense_customer_id(expense_index: int) -> str: ...
def set_expense_customer_id(expense_index: int, value: str) -> None: ...

Default Value

""

Remarks

The customer associated with this expense line.

Either expense_customer_name or expense_customer_id may reference to a Customer for this expense line.

If this property is set, the expense will be set as billable to the Customer referenced.

Name/Id Reference Properties

This property is used to reference an object that is already done within QuickBooks. This may be done with its full Name (this property) or its Id, for which a corresponding property is defined. If Name is used, it must contain the full name of the object referred to, as generated by QuickBooks. For hierarchically defined objects, such as Customers, this includes the names of parent objects, and the full name can be determined by reading the FullName special field.

Setting the value of this property will set the corresponding Id property to an empty string.

About Expenses:

In payment transactions (a Bill, a VendorCredit, a CCCharge, a CCCredit, or a Check) the payment may be tracked through Items and/or Expenses. A set of array properties is available for each. Expense lines are used to charge regularly occurring expenses such as freight charges, rent, etc., to an ExpenseAccount.

Expense line items consist of an ExpenseAccount (Name or Id), an expense_amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an expense_memo. The number of expense lines is given by ExpenseCount.

The expense_index parameter specifies the index of the item in the array. The size of the array is controlled by the expense_count property.

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 Python Edition - Version 20.0 [Build 7941]