How to add a new list to another doctype from current doctype's js file

I have created a new doctype name “service start date” and added a field called “test_date” in Sales invoice docType. On saving a Sales invoice form from POS, I want to add a new “Service start date” and insert values I have already taken from POS. Anyone can help on that?