# `invalid_number`: the right length, but not assignable under the plan

The number has a plausible length but its leading digits are not assigned to any number type in the plan of its country, so no subscriber can hold it.

- Appears in: `reason`
- Billing: Free. Invalid numbers never cost a credit.

Numbering plans assign prefixes to types (geographic, mobile, toll-free, premium); digits outside every assigned prefix, such as a North American exchange starting with 0 or 1, are not a dialable number. Spaw reports what the plan says and never answers valid for a number the plan excludes.

**What to do.** Treat it like a typo. If the number came from a form, ask the user to re-enter it; on an imported list, drop it.

```json
{
    "valid": false,
    "reason": "invalid_number",
    "e164": null,
    "country": null,
    "risk_score": null
}
```

Reference: https://spaw.co/docs/reasons/invalid_number
