Catalysis of the transfer of bile acid from one side of a hepatocyte plasma membrane into a bile canaliculus. Bile canaliculi are the thin tubes formed by hepatocyte membranes. Bile acids are any of a group of steroid carboxylic acids occurring in bile, where they are present as the sodium salts of their amides with glycine or taurine.