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

# RateTotal

RateTotal contains a sum of all the tax rates in the document with a matching category and rate.

## Schema ID

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

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Country | `country` | [l10n.TaxCountryCode](https://docs.gobl.org/draft-0/l10n/tax_country_code.md) | Country code override when issuing with taxes applied from different countries. |
| Key | `key` | [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Tax key if supported by the category. |
| Extensions | `ext` | [tax.Extensions](https://docs.gobl.org/draft-0/tax/extensions.md) | Extensions used to group the rate, if defined. |
| Base | `base` | [num.Amount](https://docs.gobl.org/draft-0/num/amount.md) | Base amount that the percentage is applied to. |
| Percent | `percent` | [num.Percentage](https://docs.gobl.org/draft-0/num/percentage.md) | Percentage of the rate. Will be nil when taxes are **exempt**. |
| Surcharge | `surcharge` | [tax.RateTotalSurcharge](https://docs.gobl.org/draft-0/tax/rate_total_surcharge.md) | Surcharge applied to the rate. |
| Amount | `amount` | [num.Amount](https://docs.gobl.org/draft-0/num/amount.md) | Total amount of the rate, excluding surcharges. |


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