How to Sync Data Between Custom Doctype & Default Doctype?

Hello,
I was Creating frappe apps and create custom doctype based on my new apps.
And then I want to ask how to insert data from this web form in my custom doctype

to sales invoice doctype

Thanks. :slight_smile: