Self employed

What I'm trying to determine is how my spouse gets credit for taxes the business has paid into social security if we're both using the same EIN. We're a qualified joint venture, but we can also have separate EINs (so technically two sole proprietorships), correct?

 

I found a related thread on the TT Community (https://ttlc.intuit.com/community/taxes/discussion/my-spouse-and-i-started-a-business-that-we-are-tr...), but it's still not entirely clear to me.