Countries agree on an international treaty mandating the largest companies, including big tech, to pay more corporate tax abroad and a smaller share in their home countries.