Hi Eelco,
As per my understanding your requirement is as under:
The Payment Terms that you need to consider is as under:
Define Payment Terms for Sr.No 1 above as under:
Select
and input Fixed Day of Month as 2 in Net Price Due
Define Payment Terms for Sr.No 2 above as under
Select "Use Fixed Date Calculation" and Define the Net Price Due as under:
So when Customer Invoice dated 01/10/2016 the payment due date will be 02/02/2016 in case of Sr.No 1 will be as under:
and in case of Sr.No. 2 if the invoice date is 01/18/2016 the payment due date will be 02/03/2016:
Note: 1) You need to select the Payment Term based on Invoice Date while creating the Customer Invoice.
2) While creating the Invoice for past date consider the posting date too.
3) I have not considered config. for Discount.
Hope this clarifies.Please let me know.
Regards,
Chempian Pontie