Cal. Rev. & Tax. Code § 23101.5
(a) The Franchise Tax Board may determine that a corporation is not doing business in this state for purposes of this chapter or deriving income from sources within this state for purposes of Chapter 3 (commencing with Section 23501) if its only activities within this state are either or both of the following:
(1) The purchase of personal property or services solely for its own use or use by its affiliate outside this state if: