QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

item_amount Property

Line item property: the total amount of this item.

Syntax

def get_item_amount(item_index: int) -> str: ...
def set_item_amount(item_index: int, value: str) -> None: ...

Default Value

""

Remarks

Line item property: the total amount of this item.

This property represents the total amount of a transaction line. If item_rate, item_cost and/or item_quantity are specified the item_amount will be automatically computed by QuickBooks.

Whether item_rate or item_cost is used will depend on the transaction type. item_rate is available for CreditMemo, Estimate, Invoice, PurchaseOrder, SalesOrder, and SalesReceipt transactions while item_cost is available for Bill, CCCharge, CCCredit, Check, ItemReceipt, and VendorCredit transactions.

The amount should be formatted as a string in dollars.

The item_index parameter specifies the index of the item in the array. The size of the array is controlled by the item_count property.

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