expense_amount Property
The total amount of this expense line.
Syntax
def get_expense_amount(expense_index: int) -> str: ... def set_expense_amount(expense_index: int, value: str) -> None: ...
Default Value
""
Remarks
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 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.