Whether a registered person under the FAQ: MSME composition scheme needs to learn HSN code of any input purchases and output supplies

No, a registered person under the composition scheme would not need to specify HSN code of their products in bill of supply or return.

(FAQ 55: MSME)