Im designing a PCB for a pre-charge circuit of an electric motor with a 500V battery and I need to measure the voltage on main contactor 1:

I was thinking of using a simple op-amp as a differential amp circuit (i couldnt find a differential amp for this voltage) like this one:

it should get me a Vout = Vin/100.

my question is- do you think about any problems that can come up with this method for such high voltages?

and if a simple op amp like LM399 or LM741 can fit?

(datasheets:

https://www.ti.com/lit/ds/symlink/lm339.pdf?ts=1647375688430&ref_url=https%3A%2F%2Fwww.google.de%2F

https://www.ti.com/lit/ds/symlink/lm741.pdf )

thanks!