Sales invoice data import

i want to create new doctype which it can importing sales invoice data from external document, and when i make checkbox called “create customer” and check it,
if the customer name doesn’t listed in master customer it would auto create new customer. I already make the new doctype can u help me with the rest like function in the script?

my client still want to make this, so if anyone can help it will be good

1 Like