We have sales orders that we need to create 2 invoices from at the same time but with different due dates. The first one is like a deposit invoice (30%) and the second one is for the remaining balance.
The due date of the deposit invoice is 15 days from the invoice date while the balance invoice's due date is based on a date on a custom field of the sales order.
Is there a way to automate this without scripting?
I'm thinking about using billing schedules but I don't know how I can set the invoice dates to today's date in the billing schedule.
For due dates, I can use a regular payment term for the deposit invoice and probably use a WF to set due date of the other invoice by sourcing the value from the custom field. But how can I distinguish the first invoice from the second invoice?
I can fix the invoice date via a workflow I think and still be able to auto-email invoice upon creation with the right dates.