Sales Invoice Record shows up as partly paid even though fully paid

So I’m adding some entries with the REST API and creating payment entries for them and it’s all fine. But for some records they will show up as partly paid instead of just paid. Any ideas why??? The values seem to match up

It seems to be because of the rounding. How do I turn that off?