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

# Merge field reference

> Merge field reference

<Note>
  Numbers, dates, and time are [culture-sensitive][2].

  If documents are stored in Google Drive, merge fields are not supported.
</Note>

## VAT

When you want to correctly calculate VAT you must first subtract ALL discounts, including alternative discount (order discount). This must be done for each quoteline (product).

We call this the "Total price with alternative discount".

We multiply the "Total price with alternative discount" with the VAT (-Percentage). The resulting number we call **VATAmount**.

These values are summed up into the alternative's VATAmount field.

Finally, the alternatives TotalPrice and the alternatives VATAmount are then added together into the field we call **TotalPriceIncVAT**.

[2]: /en/document/templates/learn/quote-templates#culture


## Related topics

- [Group (merge fields)](/en/document/templates/merge-fields/group.md)
- [Alternative (merge fields)](/en/document/templates/merge-fields/alternative.md)
- [Quote (merge fields)](/en/document/templates/merge-fields/quote.md)
- [Quote templates and merge fields](/en/document/templates/learn/quote-templates.md)
- [Create a template document](/en/document/templates/learn/create.md)
- [Merge](/en/api/reference/restful/agent/contact_agent/merge.md)
