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

# CorrectionDefinition

CorrectionDefinition contains details about what can be defined in .

## Schema ID

`https://gobl.org/draft-0/tax/correction-definition`

## Properties

| Title           | Property          | Type                                 | Description                                                                   |
| --------------- | ----------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
| Schema          | `schema`          | string                               | Partial or complete schema URL for the document type supported by correction. |
| Types           | `types`           | array of [cbc.Key](/draft-0/cbc/key) | The types of sub-documents supported by the regime                            |
| Extensions      | `extensions`      | array of [cbc.Key](/draft-0/cbc/key) | Extension keys that can be included                                           |
| Reason Required | `reason_required` | boolean                              | ReasonRequired when true implies that a reason must be provided               |
| Stamps          | `stamps`          | array of [cbc.Key](/draft-0/cbc/key) | Stamps that must be copied from the preceding document.                       |
| Copy Tax Totals | `copy_tax`        | boolean                              | Copy tax from the preceding document to the document ref.                     |

## Validation Rules

| Field    | Test                                                                  | Validation Code / Message                                  |
| -------- | --------------------------------------------------------------------- | ---------------------------------------------------------- |
| `schema` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-TAX-CORRECTIONDEFINITION-01`<br />Schema is required |
