Use a different sales account for each VAT rate.
Each row connects:
a VAT rate, for example 25, 12 or 6, and
the account number rows with that VAT rate should be booked on.
For example, in the Swedish BAS chart of accounts this is usually 3001 for 25 %, 3002 for 12 % and 3003 for 6 %.
This is part of Setup Sales Account mapping.
Good to know
Which account to use is an accounting decision. Ask whoever does your bookkeeping.