If you don't do re-stock, then Shopify doesn't need to know the refunded items/sku just the refunded amount $. So in reality to don't over complicate it, you can select any Customer Deposit with balance amount.
If you still need to identify by Customer Deposit to which shopify line item it belongs to, you'll need to bring the line items while creating the customer deposit into a custom record,