> ## 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 the preceding document references when correcting a document.

## 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](https://docs.gobl.org/draft-0/cbc/key.md) | The types of sub-documents supported by the regime. |
| Extensions | `extensions` | array of [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Extension keys that can be included. |
| Reason Required | `reason_required` | boolean | When true, a reason must be provided. |
| Stamps | `stamps` | array of [cbc.Key](https://docs.gobl.org/draft-0/cbc/key.md) | Stamps that must be copied from the preceding document. |
| Copy Tax Totals | `copy_tax` | boolean | When true, tax totals are copied from the preceding document to the document reference. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| `schema` | <ul><li>Present</li></ul> | `GOBL-TAX-CORRECTIONDEFINITION-01` Schema is required |


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