ExpenseLine Type
A single expense line item.
Remarks
This type of line item is used by the Estimate class.
Fields
accountId String |
A reference to the account to which this expense is be charged. Either AccountName or AccountId (but not both) may be used to specify the Account. For example, an AccountName of "Rent". 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. |
accountName String |
A reference to the account to which this expense is be charged. Either AccountName or AccountId (but not both) may be used to specify the Account. For example, an AccountName of "Rent". 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. |
amount String |
The total amount of this expense line. The amount should be formatted as a string in dollars. 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
billableStatus BillableStatus |
The billing status of this expense line. If the billing status is empty (that is, if no billing status appears in QuickBooks), then BillableStatus will be bsEmpty Values:
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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
classId String |
A reference to the class of this expense. The class may be specified by either ClassName or ClassId. This property is only used if class tracking is being done with the QuickBooks company. 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
className_ String |
A reference to the class of this expense. The class may be specified by either ClassName or ClassId. This property is only used if class tracking is being done with the QuickBooks company. 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
customerId String |
The customer associated with this expense line. Either CustomerName or CustomerId 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
customerName String |
The customer associated with this expense line. Either CustomerName or CustomerId 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
lineId String |
Identification number of the expense line, used for Updates. If you need to add a new expense line in a transaction Update request, you can do so by setting the LineId to -1. |
memo String |
A memo for this expense line, which will appear to the QuickBooks user only. 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
taxCodeId String |
Line item property: Sales tax information for this item. This is a reference to a sales tax code predefined within QuickBooks. By default, two standard TaxCodes exist: "TAX", or Taxable Sales, and "NON", or Non-Taxable Sales. The QuickBooks user may also define custom tax codes. Id/Name Reference Properties This property is used to reference an object that is already done within QuickBooks. This may be done with its Id (this property) or its full Name, for which a corresponding property is defined. Using the Id is recommended when feasible, as the Id is guaranteed to never change once defined. Setting the value of this property will set the corresponding Name 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
taxCodeName String |
Line item property: Sales tax information for this item. This is a reference to a sales tax code predefined within QuickBooks. By default, two standard TaxCodes exist: "TAX", or Taxable Sales, and "NON", or Non-Taxable Sales. The QuickBooks user may also define custom tax codes. 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 Amount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an Memo. The number of expense lines is given by ExpenseCount. |
Constructors
public init()