The situation since new-year is absolutely horrendous. At January 1st, the VAT rules changed so that digital goods have to be taxed using the VAT rate of the buyer's location, and using the tax law of the buyer's home country. That is: a web shop of any size have to keep track of up to 80 different VAT rates, and the disparate tax law regarding VAT of 28 different EU countries in order to deduce which VAT rate and goods classification is applicable on each single transaction.
As a telling example: In several countries an e-book is only an e-book if it has an ISBN number (usually with a lower than standard VAT rate). Otherwise it's a digital service (with a higher VAT rate). In other countries it's a e-book as long it's a digital text. Or humorously enough, in the case of France: It's only taxed as an e-book if it doesn't have pornographic content, otherwise it's taxed as a digital service.
A good start would be what is proposed in the press release: Harmonized VAT rates and rules for digital goods.