Yes, but could be used in different situations. For example, if somebody asked me the question "What happened?" I would use the first response rather than the second. If somebody asked me "Did he collect the package?" I would use the second response rather than the first. But ultimately they do mean the same thing, and it's not totally incorrect to use the interchangeably. Hope this helps :)