(A) Any tax imposed pursuant to this chapter shall not apply with respect to any deed, instrument, or writing to a beneficiary or mortgagee, which is taken from the mortgagor or trustor as a result of or in lieu of foreclosure; provided, that such tax shall apply to the extent that the consideration exceeds the unpaid debt, including accrued interest and cost of foreclosure. Consideration, unpaid debt amount and indemnification of grantee as beneficiary or mortgagee shall be noted on said deed, instrument or writing or stated in an affidavit or declaration under penalty or perjury for tax purposes. (Cal. Rev. & Tax. Code § 11926)
(B) (1) Any tax imposed pursuant to this chapter shall not apply with respect to any deed, instrument, or other writing which purports to transfer, divide, or allocate community, quasi-community, or quasi-marital property assets between spouses for the purpose of effecting a division of community, quasi-community, or quasi-marital property which is required by a judgment decreeing a dissolution of the marriage or legal separation, by a judgment of nullity, or by any other judgment or order rendered pursuant to the Family Code, or by a written agreement between the spouses, executed in contemplation of any such judgment or order, whether or not the written agreement is incorporated as part of any of those judgments or orders.
(2) In order to qualify for the exemption provided in division (B)(1), the deed, instrument, or other writing shall include a written recital, signed by either spouse, stating that the deed, instrument, or other writing is entitled to the exemption.
(Cal. Rev. & Tax. Code § 11927)
(C) Any tax imposed pursuant to this chapter shall not apply with respect to any deed, instrument, or other writing by which realty is conveyed by the State of California, any political subdivision thereof, or agency or instrumentality of either thereof, pursuant to an agreement whereby the purchaser agrees to immediately reconvey the realty to the exempt agency. (Cal. Rev. & Tax. Code § 11928)
(D) Any tax imposed pursuant to this chapter shall not apply with respect to any deed, instrument, or other writing by which the State of California, any political subdivision thereof, or agency or instru-mentality of either thereof, conveys to a nonprofit corporation realty the acquisition, construction, or improvement of which was financed or refinanced by obligations issued by the nonprofit corporation on behalf of a governmental unit, within the meaning of § 1.103-1(b) of Title 26 of the Code of Federal Regulations. (Cal. Rev. & Tax. Code § 11929)