The directed movement of borate across a membrane by means of some agent such as a transporter or pore. Borate is the anion (BO3)3-; boron is a group 13 element, with properties which are borderline between metals and non-metals.