In 'Settings/Users/Access Management', enable the right: 'Print receipts with no detail'.
In the Payment section of a sale, you will find a form to enter a quantity, a description and an amount to print on your receipt.
The amount cannot be higher than the total amount of the sale.