# Register

**Register**

| Name      | Type  | Mandatory | Description                                    |
| --------- | ----- | --------- | ---------------------------------------------- |
| `options` | array | true      | An array of Register request options to import |
| `type`    | enum  | true      | Based on annotation schema key eg. `vat_code`  |

**RegisterOption**

| Name    | Type   | Mandatory | Description                                              |
| ------- | ------ | --------- | -------------------------------------------------------- |
| `label` | string | true      | A label that will be shown in an UI                      |
| `value` | string | true      | A value that will be set when a user chooses this option |

For the `document_type` register, the option values are fixed — they must not be changed, and only the following predefined options may be used:

```json
[
  {
    "value": "TAX_INVOICE",
    "label": "Faktura - Daňový doklad",
    "shown_label": "Faktura - Daňový doklad"
  },
  {
    "value": "CORRECTIVE_TAX",
    "label": "Opravný daňový doklad",
    "shown_label": "Opravný daňový doklad"
  },
  {
    "value": "CREDIT_NOTE",
    "label": "Dobropis",
    "shown_label": "Dobropis"
  },
  {
    "value": "PROFORMA",
    "label": "Zálohová faktura",
    "shown_label": "Zálohová faktura"
  },
  {
    "value": "TAX_PAYMENT_INVOICE",
    "label": "Daňový doklad k platbě",
    "shown_label": "Daňový doklad k platbě"
  }
]
```
