It took a couple decades, but Ben Affleck and Jennifer Lopez finally have a marriage certificate ... and TMZ has the first look. We obtained the official document from Ben and Jen's surprise wedding in Sin City, and it shows the couple got married…