How do I reconcile this situation: My husband has accidentally used his HSA debit card for non-medical purchases.

Do the retailers and/or banks send specific purchase information to the IRS?  When we fill out the Form 8889, I assume the bank will show that he has spent "X" dollars with his HSA debit card.  (Hopefully it won't show that it was at the gas station!)  May I just balance that by claiming an equal amount for "qualified medical expenses" on Form 8889?  We have plenty of medical expenses that WOULD qualify--like chiropractors, etc, that we don't otherwise deduct since we don't itemize.  Our intention was to use the HSA as an investment, and we goofed by accidentally using the HSA debit card.  In advance,  I SO appreciate your help!