ProposalCostGroup
A billing-frequency section of the proposal costs table (one heading + table per group).
Properties
| Name | Type | Description |
|---|---|---|
| frequency | string | Display label: "Monthly", "Quarterly", "Annual" or "One-off". |
Display label: "Monthly", "Quarterly", "Annual" or "One-off". | ||
| rows | array of ProposalCostRow | Rows in render order: package rows, then standalone services, then setup fees. |
Rows in render order: package rows, then standalone services, then setup fees. | ||
| subtotal | number | Sum of row amounts excluding VAT. Open-ended per-unit rows contribute 0. |
Sum of row amounts excluding VAT. Open-ended per-unit rows contribute 0. | ||
| totalVat | number | Sum of row VAT amounts. |
Sum of row VAT amounts. | ||
| grandTotal | number | Subtotal + TotalVat. |
Subtotal + TotalVat. | ||
| showTotals | boolean | True when the totals row should render: practice is VAT registered and the group has |
True when the totals row should render: practice is VAT registered and the group has | ||
JSON Example
{
"frequency": "string",
"rows": [
{
"name": "...",
"pricingTierName": "...",
"amount": "...",
"showPriceAsNa": "...",
"isOpenEnded": "..."
}
],
"subtotal": 0,
"totalVat": 0,
"grandTotal": 0
}