> ## 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.

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# 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)
- [Alternative (merge fields)](/en/document/templates/merge-fields/alternative.md)
- [Quote (merge fields)](/en/document/templates/merge-fields/quote.md)
- [Merge field reference](/en/document/templates/merge-fields/index.md)
- [Merge](/en/api/reference/restful/agent/contact_agent/merge.md)
