He said, “I have done my job.”

He said that he had been doing his job.
He said that he had done his job.
He said that he have done his job.
He said that he has done his job.

The correct answer is D. He said that he has done his job.

The sentence “He said, ‘I have done my job'” is in the simple past tense. This means that the action of “doing the job” was completed at a specific point in time in the past. The simple past tense is used to talk about events that happened at a specific time in the past, or to talk about events that happened repeatedly in the past.

The other options are not correct because they are not in the simple past tense. Option A, “He said that he had been doing his job,” is in the past progressive tense. The past progressive tense is used to talk about actions that were happening over a period of time in the past. Option B, “He said that he had done his job,” is in the simple past tense, but it is not the same as the sentence in the question. The sentence in the question is in the first person, while option B is in the third person. Option C, “He said that he have done his job,” is not grammatically correct. The correct verb form is “has done.”

In conclusion, the correct answer is D. He said that he has done his job.