E-waybill (India)

After creating an invoice,when we upload the invoice to GSTN port for generating e-waybill,every other field except quantity field is updated in GSTN portal. Is it a bug or we need to change any settings in ERPNEXT?
Kindly suggest us a solution?