Is it compulsory to mention HSN Codes or SAC

The Board/Commissioner by notification may specify the number of digits of HSN code for goods or Accounting Code for Services that a class of registered persons shall be required to mention, for such period as may be specified in the said notification.

(ICAI FAQ PUBLICATIONS 06-09-2017 TAX INVOCIE, CREDIT AND DEBIT NOTES: FAQ NO. 44)