Ideal Tax Credits Under the Global Minimum Tax