https://userapps.support.sap.com/sap/support/knowledge/en/2917362
2917362 - How is invoice quantity determined while creating new invoice
You wanted to know how invoice quantity is determined while creating new invoice
invoicequantitydeterminedcreatingnew