QuickBooks Integrator 2020 PHP Edition

Questions / Feedback?

PurchaseExpenseAccountId Property

The expense account charged when this item is purchased.

Object Oriented Interface

public function getPurchaseExpenseAccountId();
public function setPurchaseExpenseAccountId($value);

Procedural Interface

inqb_item_get($res, 25 );
inqb_item_set($res, 25, $value );

Default Value

''

Remarks

The expense account charged when this item is purchased.

Used for non-inventory, service, and other charge items. For inventory items specify PurchaseCOGSAccountName (or Id) and PurchaseAssetAccountName (or Id) instead.

You should specify this property in case the item is both purchased and sold. In case the item is purchased but not sold, it is recommended that you specify Price, Description, and Account instead. QuickBooks will use the type of account to distinguish between purchased items and sold items.

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.

Data Type

String

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