Code of Alabama
Article 5 - Counterclaims.
Section 6-8-85 - Judgment for Defendant - Permissive Counterclaims.

If the debt or demand permissively counterclaimed exceeds the amount of the plaintiff's demand, the amount of such excess being found by the jury or court trying the same, judgment must be entered against the plaintiff for costs and in favor of the defendant for such excess, and where there is more than one defendant and the debt or demand permissively counterclaimed belongs to only one defendant, then judgment for such excess must be entered in favor of such defendant for such excess.