however, if you do earn all or nearly all your income in the country where you work, that country is obliged under eu law to give you the tax allowances that are available to its residents.

This is all lower case. Can you fix that?
However, if you do earn all or nearly all your income in the country where you work, that country is obliged under EU law to give you the tax allowances that are available to its residents.