You have to made separate entry for each rate with same invoive.

For example invoice details with 5% rate value then with 12% then with 18% & so on.