It is not completely clear what you want to say. However, this is one way to word it: The applicant states that he joined the crew of the ship “XXXX”, currently named "YYYYY, at the port of Barcelona in 2011. On July 2, 2014, he left the ship at that same port because his labor agreement had expired, at which point it was duty of the company to pay the salary owed to him.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.