Ask : invoice : advance payment

If i create invoice with advance payment, There is another invoice which different payment advance another purchase order. Example i have PO with total amount $100.00 and i make advance $25.00. However when i create invoice with advance payment, there is $75.00 another advance with same Payment Entry Number and another $50.00 Payment Advance another. Can anybody explain it’s bug or anyelse?