Standard and reduced rates, per line
Every product carries its own tax category, so an invoice mixing standard-rated (10%) and reduced-rate (8%) items — food and non-alcoholic drink under the reduced rate, for instance — calculates each line correctly rather than applying one rate to the whole document.