Practical workflow
Use UTF-8 encoding, a single header row and consistent columns. Trim unwanted spaces, then review duplicates; preserve identifiers with leading zeroes.
Check before you automate
Save a copy of the original exports. Test on a representative sample, review exceptions and compare the result against a manually checked example. Record the rules so the process can be repeated consistently.
Try the related tool