validate_cusip
Verify a CUSIP (North American securities identifier) by validating its mod-10 check digit. Returns the expected digit when validation fails.
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. |