I want to ask a question about the passive nature of haber in the sentence
Me han robado la cartera.
I was studying Spanish and this sentence came up, and I couldn't break down the sentence at first.
Consider the first fragment of the sentence
Me han robado
Using my intermediate knowledge of Spanish, I am aware that this means
They have robbed me
noting that "me" is either a direct object or indirect object pronoun.
However, the next fragment
Me han robado la cartera
doesn't seem to fit the current line of reasoning.
I found out that the sentence means
My wallet was robbed
but this implies a passive nature, which is not evident since a group of thieves – given by the conjugation of haber to han clearly states a third party was actively involved in the action, and I was the receiver of the action.
How does the noun la cartera logically fit with this sentence to give a passive nature of "My wallet was robbed" compared to the original analysis "They have robbed me my card"?