Barcode.Modulo10Checksum
------------------------

Calculate checksum with Modulo 10 recursive.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Barcode](component_Barcode.md) | [11.1](newinversion111.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Barcode.Modulo10Checksum"; Value ) 

**MBS**( **"Barcode.Modulo10Checksum";** /\* Calculate checksum with Modulo 10 recursive. \*/  
**$Value**) /\* The input value. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The input value. |  |

### Result

Returns number or error.

### Description

Calculate checksum with Modulo 10 recursive.  
This is check digit generation by Modulo 10 recursive for Swiss Payment Codes.  
  
  
See also  
<https://www.paymentstandards.ch/dam/downloads/ig-qr-bill-en.pdf>  
### Examples

Calculates an examples to get 7:

 MBS ("Barcode.Modulo10Checksum"; "21000000000313947143000901")  
<small>  
Example result: 7</small>### Release notes

- **Version 11.1**
    - Added [Barcode.Modulo10Checksum](https://www.mbsplugins.eu/BarcodeModulo10Checksum.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 11.1](https://www.mbsplugins.de/archive/2021-03-16/MBS_FileMaker_Plugin_111/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.1pr5](https://www.mbsplugins.de/archive/2021-02-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th February 2021 , last changed 2nd November 2023

  
[Barcode.Loaded](BarcodeLoaded.md) - [Barcode.Scan](BarcodeScan.md)

[HTML Version](BarcodeModulo10Checksum.shtml)