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

# Combo

Combo represents the tax combination of a category code and rate key.

## Schema ID

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

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Category | `cat` | [cbc.Code](https://docs.gobl.org/draft-0/cbc/code.md) | Tax category code from those available inside a region. |
| 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` | [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Determines the tax situation within the category. |
| Rate | `rate` | [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Rate within a category and for a given key to apply. |
| Percent | `percent` | [num.Percentage](https://docs.gobl.org/draft-0/num/percentage.md) | Percentage set manually or determined from the rate or key. A nil percent implies that the tax combo is either exempt or not subject. |
| Surcharge | `surcharge` | [num.Percentage](https://docs.gobl.org/draft-0/num/percentage.md) | Some countries require an additional surcharge (may be determined if key present). |
| Extensions | `ext` | [tax.Extensions](https://docs.gobl.org/draft-0/tax/extensions.md) | Local codes that apply for a given rate or percentage that need to be identified and validated. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| Combo | <ul><li>Category in regime</li></ul> | `GOBL-TAX-COMBO-01` Tax category not valid for regime |
| Combo | <ul><li>Key in category</li></ul> | `GOBL-TAX-COMBO-02` Tax combo key not valid for category in regime |
| Combo | <ul><li>Rate in key</li></ul> | `GOBL-TAX-COMBO-03` Tax combo rate not valid for key in regime |
| Combo | <ul><li>Percent valid for key</li></ul> | `GOBL-TAX-COMBO-04` Tax combo percent required or invalid for key in regime |
| Combo | <ul><li>Surcharge requires percent</li></ul> | `GOBL-TAX-COMBO-05` Tax combo surcharge requires percent in regime |
| Combo | <ul><li>Extension keys defined</li></ul> | `GOBL-TAX-COMBO-06` Tax combo extension key not defined in regime |


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