When generating BIP39 seed by hand, you will need this script to fix last 4 bits (12th word) with a correct checksum. - checksum_12_words.js| Gist