I guess it's too late to do anything now as immigration has already issued deportation letter.
Your office had almost 2 months to settle the issue but failed to do so. The minor error should have been easily corrected without having to deport you. It's not as if you committed crime or overstayed your visa, I'm not sure if the errors are grounds for your deportation. Makes me suspect that your employer doesn't want you anymore, and they took this opportunity to "terminate" the contract. If only you knew what was coming, you could have quit the job and get an EPO instead of being deported.