The oxidation state of O is always -2
We can assume the oxidation state of Cl as x
So the overall charge must be zero as the molecule is neutral.
Therefore,
(+3) + 3(-2) + 3x= 0
3x = +3
x=+1
The oxidation number of V in VOCl3 is +3