From a legal point of view: if there is no contract or agreement, but the other party has written a contractor but signed the payment, it is not a legal contractor and is not protected by law.
If the contractor is qualified, the employee must sign a labor contract, otherwise it is illegal, but it does not affect the formation of factual labor relations.