So, suppose the digits were a1,a2,⋯,a10 and a_1 is the first digit, a_2 is the second digit, etc.
Note that the first digit can't be 0. So the required number is
(# of cases where a1+a2+⋯+a10=15)−(# of cases where a2+a3+⋯+a10=15)
Each number can be calculated using this theorem described on this wiki page: https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)#Theorem_two.