# MSICodeCheckDigitCalculation

Parameter `MSICodeCheckDigitCalculation` defines the scheme used for calculating a check digit of an MSI barcode.

## JSON Structure

**Location in template:**
```
BarcodeFormatSpecificationOptions[i]
    └── MsiCodeCheckDigitCalculation
```

**Parent object:** [BarcodeFormatSpecification](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/barcode-format-specification/index.md) object

**Example:**

```json
{
    "MSICodeCheckDigitCalculation": "MSICCDC_MOD_1110"
}
```

> [!NOTE]
> - This snippet shows only the `MsiCodeCheckDigitCalculation` parameter.
> - To use it, embed this parameter within a [BarcodeFormatSpecification](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/barcode-format-specification/index.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/index.md#full-json-structure)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/index.md#minimal-valid-json-example)

## Parameter Details

The structure of the `MSICodeCheckDigitCalculation` is shown as follow:

| MSICodeCheckDigitCalculation  Parameter Details |
| :--------------------------------- |
| **Type**<br>*string* |
| **Range**<br>MSICCDC_NO_CHECK_DIGIT<br>MSICCDC_MOD_10<br>MSICCDC_MOD_11<br>MSICCDC_MOD_1110<br>MSICCDC_MOD_1010 |
| **Default Value**<br>MSICCDC_MOD_10 |
