Mainland tax pact takes effect