EXCLUSIVE

Sherri Shepherd has lost her epic battle with her soon to be ex-husband ... she's officially listed as the mother of the child who was born via surrogate ... TMZ has learned.

Shepherd and her estranged husband, Lamar Sally, have been battling in court since the child's birth in August and it's been all about the moolah. Sherri claims she was tricked into having the child with Sally and therefore has no connection or responsibility to the child.

A Pennsylvania judge begged to differ, ruling her Hancock belongs on the birth cert.

Lamar says he's ecstatic with the ruling telling TMZ, "I want her to go on television and apologize the same way that she went on there and accused me of being a gold digger and tricking her into having a baby."

We're told Shepherd was a no-show at the hearing.