Harsh, her story isn't exactly nefarious.
She lived in the Bahamas until she had her kids, then moved to Spain primarily to raise her kids for 3 years but still used the Bahamas as her primary address.
Spanish tax investigators were unable to prove that she lived for 183 days within Spain, which should have been the Spanish physical presence test to prove Shakira lived in the country long enough each year to owe Spain taxes, but they could prove that she definitively didn't live in the Bahamas.
Shakira reached a deal with Spanish authorities to pay over half the amount of taxes they initially asked for, likely because they couldn't even prove that she was in the country for the amount of time she would have needed to be in the country to be legally required to pay taxes.
She still paid over $8 million for three years of corrective taxes to Spain.