Legal provisions for mandatory referendums at national level

United Kingdom
Answer
Yes
Source
European Union Act of 2011
http://www.legislation.gov.uk/ukpga/2011/12/contents
Read also:
'Direct Democracy in the UK: a constitutional experiment.' by Dr Melanie Sully www.go-governance.com
Comment
Amendment or replacement of the Treaty on European Union, and other issues defined in the European Union Act of 2011 must to be put to referendum. Until 2011, UK did not have provisions for mandatory referendums.