Impact of Wallet on Invoice and Credit Memo
When the fee amount for a product or service is paid using a wallet, an invoice is generated for it. However, the invoice balance is offset by an auto-generated credit memo. The offset is dependent upon the balance left in the associated wallet.
The Prepaid Amount field on the Invoice Line Item shows the amount of the invoice that is paid from the wallet.
The Ending Amount field on the Destination Related A/R Transactions for each Invoice shows the amount that is not paid from the wallet and is due for payment.
Consuming a wallet automatically creates a credit memo with Reason Code as Prepayment and Status as Approved.
The field Wallet Id on Credit Memo Line Item shows the wallet from which the credit memo is created and the field Applied Invoice Line Item Id shows the invoice line item which consumes the wallet amount.