Update sales_invoice.py
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
index ee01011..5c067fe 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -632,7 +632,7 @@
 		return gl_entries
 
 	def make_customer_gl_entry(self, gl_entries):
-    grand_total = self.rounded_total or self.grand_total
+		grand_total = self.rounded_total or self.grand_total
 		if self.get("payment_schedule"):
 			for d in self.get("payment_schedule"):
 				payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,