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

# CategoryTotal

CategoryTotal groups together all rates inside a given category.

## Schema ID

`https://gobl.org/draft-0/tax/total#/$defs/CategoryTotal`

## Properties

| Title       | Property      | Type                                              | Description |
| ----------- | ------------- | ------------------------------------------------- | ----------- |
| Code        | `code`        | [cbc.Code](/draft-0/cbc/code)                     |             |
| Retained    | `retained`    | boolean                                           |             |
| Informative | `informative` | boolean                                           |             |
| Rates       | `rates`       | array of [tax.RateTotal](/draft-0/tax/rate_total) |             |
| Amount      | `amount`      | [num.Amount](/draft-0/num/amount)                 |             |
| Surcharge   | `surcharge`   | [num.Amount](/draft-0/num/amount)                 |             |
