If, when allocating sales invoices and receipts, your receipt value is greater than your invoice value you will be given the option (when saving) to write the discrepancy off as a discount. This makes sense for minor discrepancies, such as a few p...