Terjemahan:He does not have the shirt.
Why do I need "the" in that answer? Am I wrong if I don't?
I suppose it should be fine but adding "the" there sounds better.
I think you would be more likely to say 'He does not have a shirt'. 'He does not have shirt' is just wrong.