import { SpeakeasyBase } from "../../../internal/utils"; import { AccountRef } from "./accountref"; import { ItemRef } from "./itemref"; import { PropertieTracking } from "./propertietracking"; import { TaxRateRef } from "./taxrateref"; import { TrackingCategoryRef } from "./trackingcategoryref"; import { Zero } from "./zero"; export declare class BillLineItem extends SpeakeasyBase { /** * Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. */ accountRef?: AccountRef; /** * Friendly name of the goods or services received. */ description?: string; /** * Numerical value of any discounts applied. * * @remarks * * Do not use to apply discounts in Oracle NetSuite—see Oracle NetSuite integration reference. */ discountAmount?: number; /** * Percentage rate of any discount applied to the bill. */ discountPercentage?: number; /** * The bill is a direct cost if `True`. */ isDirectCost?: boolean; itemRef?: ItemRef; /** * The bill line's number. */ lineNumber?: string; purchaseOrderLineRef?: Zero; /** * Number of units of goods or services received. */ quantity: number; /** * Amount of the line, inclusive of discounts but exclusive of tax. */ subTotal?: number; /** * Amount of tax for the line. */ taxAmount?: number; /** * Data types that reference a tax rate, for example invoice and bill line items, use a taxRateRef that includes the ID and name of the linked tax rate. * * @remarks * * Found on: * * - Bill line items * - Bill Credit Note line items * - Credit Note line items * - Direct incomes line items * - Invoice line items * - Items */ taxRateRef?: TaxRateRef; /** * Total amount of the line, including tax. */ totalAmount?: number; /** * Categories, and a project and customer, against which the item is tracked. */ tracking?: PropertieTracking; /** * Collection of categories against which this item is tracked. */ trackingCategoryRefs?: TrackingCategoryRef[]; /** * Price of each unit of goods or services. */ unitAmount: number; /** * The measurement which defines a unit for this item (e.g. 'kilogram', 'litre'). */ unitOfMeasurement?: string; }