Every job opens with the audience set down on paper. Fields are filled only where a source supports them. Output is cut to the structure your tooling expects, tested in advance.
Jurisdiction split
Separating records by the rules that apply where the person is, not where the file was built.
Repeat control
Removing duplicates within the file and against anything previously supplied to you.
Currency handling
Stating the unit and basis for any monetary field instead of leaving it implied.
Tell us what you tried already so we do not repeat it.