Selection of GST rule automatically acc. to the address of customer

Can we do some settings tht erpNext can automatically apply SGST and CGST on Intra-State sale, and IGST on Inter-state sale according to the customer address?

Please reply if anyone knows.

Thanks