Hi Raj,
You have a Purchase Order of 100 Quantity and against which GRN has been booked of 50 Quantity, Ideally the Invoice should also be booked of 50 Quantity as that much is the only quantity which is received.
Vendor Liability could be only of 50 Quantity and not of 100 Quantity.
BR, Jaymin R. Bhatt