Hey there,
The most common cause for the invalid phone number error is the phone being prepaid. Prepaid numbers are not supported. If your phone number is not prepaid please ensure it is entered correctly, and is registered to the same country/region as your Blizzard account.
If you’re sure the phone number is not prepaid and you have tried all of the above, please submit a ticket.