You could fill in this form with the 20% Latvian tax deducted and press the calculate button. Then edit to show the reduced 10% Latvian tax dedicted and press the calculate button. This will demonstrate if there is a tax advantage in having a letter of residence.