Quote builder
quote-buildTotals line items, applies a discount and HST, and computes a deposit. No customer details taken. Returns { lines, grossCents, discountCents, subtotalCents, hstCents, totalCents, rate, depositCents }. Price: 5 credits (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Line items, 1 to 100. | |
| depositPct | No | Deposit as a percent of the tax-included total. | |
| discountPct | No | Discount on the gross total, in percent. |