A new line item is created whenever a patient clicks "pay" even if they don't complete the payment.
For example: if someone tries to book online and clicks "pay" but then comes back and refreshes later, it will generate a new line item.
We would suggest either voiding any "unpaids" that are not correct or simply filtering by "paid only" to see the paid transactions.