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

# Total

Total contains a set of Category Totals which in turn contain all the accumulated taxes contained in the document.

## Schema ID

`https://gobl.org/draft-0/tax/total`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Categories | `categories` | array of [tax.CategoryTotal](https://docs.gobl.org/draft-0/tax/category_total.md) | Grouping of all the taxes by their category. |
| Sum | `sum` | [num.Amount](https://docs.gobl.org/draft-0/num/amount.md) | Total value of all non-retained or indirect taxes. |
| Retained | `retained` | [num.Amount](https://docs.gobl.org/draft-0/num/amount.md) | Sum of retained or withheld tax amounts. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.