Prox Terms Capability?

Is there a way to define Prox terms in Axapta? For example, we have a customer whose discount terms are “Prox 10th”. “Prox 10th” in this case is defined as: invoices dated the first through the 25 of the month are paid on the 10th of the following month. Invoices dated after the 25th are paid the 10th of the second month. For example,an invoice dated June 1 is due July 10th, while an invoice dated June 27th is due August 10th. Thanks, Bruce

I think you can setup Payment days - Payment day lines==month, day==10