To refund an entire document use the right-click option “iPayment - Refund now”. Please see the chapter “Document refund”.