Getting geolocation in sales invoice

I am seeking your assistance in developing a system that can automatically capture and include GPS latitude and longitude data in our sales invoices in ERPNext. Specifically, we would like to integrate this geolocation information into the invoicing process to enhance accuracy and record-keeping.

@M.K.Raj you can take reference from Employee Checkin this
Jsfile:hrms/hrms/hr/doctype/employee_checkin/employee_checkin.js at develop · frappe/hrms · GitHub
pyfile:hrms/hrms/hr/doctype/employee_checkin/employee_checkin.py at develop · frappe/hrms · GitHub