# stdnum.eu.banknote

Euro banknote serial numbers.

The serial number consists of one letter and 11 digits, or two letters and 10 digits for the new series banknotes.

More information:

- https://en.wikipedia.org/wiki/Euro_banknotes#Serial_number

    >>> validate('P36007033744')
    'P36007033744'
    >>> validate('P36007033743')
    Traceback (most recent call last):
        ...
    InvalidChecksum: ...

`stdnum.eu.banknote.``checksum`(number)

  Calculate the checksum over the number.

`stdnum.eu.banknote.``compact`(number)

  Convert the number to the minimal representation. This strips the number of any valid separators and removes surrounding whitespace.

`stdnum.eu.banknote.``is_valid`(number)

  Check if the number is a valid banknote serial number.

`stdnum.eu.banknote.``validate`(number)

  Check if the number is a valid banknote serial number.