> ## Documentation Index
> Fetch the complete documentation index at: https://gobl-cli-install-gobl-dev.mintlify.site/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](/draft-0/tax/category_total) | Grouping of all the taxes by their category |
| Sum | `sum` | [num.Amount](/draft-0/num/amount) | Total value of all non-retained or indirect taxes. |
| Retained | `retained` | [num.Amount](/draft-0/num/amount) | Sum of retained or withheld tax amounts |


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