lbx-invoice
Version:
Provides functionality around generating invoices.
32 lines (31 loc) • 844 B
TypeScript
import { AmountUnit } from './amount-unit.model';
import { Vat } from './vat.model';
/**
* Contains information about a single item of an invoice.
*/
export declare class InvoiceItem {
/**
* The name of the item.
*/
name: string;
/**
* The amount of the item.
*/
amount: number;
/**
* The unit, eg. Pieces or meter.
* Is either a free string or an object containing a display name and a code.
* (This is required for factur-x/x-rechnung conformance).
*/
amountUnit: AmountUnit;
/**
* The tax on the item.
* Is either a percentage number (eg. 20 means 20%) or an object containing a percentage number and a code.
* (This is required for factur-x/x-rechnung conformance).
*/
vat: Vat;
/**
* The price of the item.
*/
price: number;
}