[fix] [minor] paid amount should be zero if not pos invoice