A draft regulation that would require banks to provide details of customers’ accounts to tax authorities has been causing controversy.