How to formulate my resume, if a PhD defense exam fails with mark “Dissertation passed, Oral failed”
So, have you officially been granted a degree of Ph.D. or have you not?
I cannot tell from the way that your question is currently phrased.

If you have a Ph.D., you can simply honestly write down that you have a Ph.D. degree, and not attempt to explain whatever it means at your institution to be given a Ph.D. while failing your defense.  Don't hide it if you are asked, but if this is the case then apparently your institution thinks that you are worthy of a Ph.D., and it's up to others to judge whether they respect your institution.

If you do not actually have a Ph.D. yet, then you can't write that you have a Ph.D., and it probably doesn't matter all that much to the reader that you have an accepted dissertation.