How do I deal with this petty firm I work for? Help

I work for a small firm about 15-20 staff. The management is really petty, I was told they will deduct the AICPA membership fee they paid for me from my last paycheck after I gave out my notice. Is it even legal for them to do that? I did not see anything regarding that in the personnel guide. Help please!