> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Group (merge fields)

> Group (merge fields)

These fields are user-selectable on sale type.

| Merge field tag         | Name              | Description                                                     |
| ----------------------- | ----------------- | --------------------------------------------------------------- |
| group/groupField        | Group field value | The value of whatever field has been designated the group field |
| group/numLines          | Number of lines   | Number of lines in the group                                    |
| group/sumDiscountAmount | Sum of discounts  | Sum of all discounts in the group                               |
| group/sumTotalPrice     | Sum of price      | Total price of all lines in the group                           |
| group/sumVat            | Sum of VAT        | Sum of VAT of all lines in the group                            |


## Related topics

- [Quote templates and merge fields](/en/document/templates/learn/quote-templates.md)
- [Customize order confirmation template](/en/document/templates/admin/tutorial.md)
- [Merge field reference](/en/document/templates/merge-fields/index.md)
- [Alternative (merge fields)](/en/document/templates/merge-fields/alternative.md)
- [Quote (merge fields)](/en/document/templates/merge-fields/quote.md)
- [Merge](/en/api/reference/restful/agent/contact_agent/merge.md)
