What Account did you debit when you wrote the check (cash credit)?
If you have a Sales (Services) Returns and Allowances account, that should have taken the Debit. Your current year's Sales/Services will be reduced by those amounts and taxable sales for this year will be lower. Should equal out.