I just can not figure out who owes who.

I sold to Ms. X a product for $229,214. Ms. X then sold to me a similar product for$456,193
I then sold another product to Ms. X a new product for $429,529. I know there is a difference of$202,550. But do not know who the money belongs to.. . Me or Ms. X; and we want to be at a zero balance with neither owing the other; yet without one or the other profiting.