Skip to content
Cynco UI

Accounting · Sales

InvoiceLineItems

Editable invoice line rows (item and description, qty, unit price, discount, tax code, amount) with a margin dot, a total and estimated-profit footer, and Add item, Browse library and Add line actions.

import { InvoiceLineItems } from "@cynco-labs/ui";

Example

Use

Step 2 of the invoice and quotation builders, and read-only on a stored document (readOnly).

Props

items (name, description, quantity, price, discount, discountType, taxCode, margin), onChange, currency, taxCodes (value, label, rate; defaults to SST 8%/6%, Sales 10% and Exempt), readOnly, estimatedProfit, onAddItem, onBrowseLibrary; className and native div props.

Notes

The footer sits on the tray, below the rows.

Source Demo source Markdown