Receipt Letters can be produced BEFORE or AFTER approving a Batch. The suggested best practice is to ensure all payments are correctly entered (using a Batch Report to help reconcile each payment).
After payments have been added to the batch, the next step is to produce the receipt letters for those contacts who require a receipt. Receipt letters will be created for those payments where Receipt Required is set to Yes on Payment Details form.