After consumers buy medicines, they generally don't keep the purchase voucher. If there is no clear proof of drug purchase, once there is a problem with the drug purchased, there is no invoice. If there is a problem, pharmacies often refuse to admit it, and consumers can't explain it clearly.
Formal invoices play the role of vouchers.