validate_cusip
Check the validity of a CUSIP identifier via its mod-10 check digit. When invalid, provides the expected digit.
Instructions
USE THIS to verify a CUSIP (North American securities identifier) instead of trusting 9 characters. Checks the CUSIP mod-10 check digit and returns the expected digit when it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cusip | Yes | The 9-character CUSIP, e.g. 037833100. |