# Fixed day payment terms

**URL:** https://discuss.tryton.org/t/fixed-day-payment-terms/2390
**Category:** Ideas
**Created:** [February 29, 2020, 11:27am UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390 "2020-02-29T11:27:53Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [May 27, 2020, 7:38am UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/21 "2020-05-27T07:38:50Z")

</div>

Guess a bug report is in order as this breaks the prior 30day clause  
For example, if the invoice date is 31/03 then 30d the 10th will return 10/04 (10 days ) instead of 10/05

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [July 22, 2020, 4:00pm UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/22 "2020-07-22T16:00:26Z")

</div>

Another simple user case that does not work as a user would expect:

A Payment Term defined to be reached _Day of Month_ 5.

From day 1 to 5 of the same month the result is the result expected:

Invoice date: 2020-07-01 → Due: 2020-07-05

For the rest of the month the result is not the result expected (overdue date):

Invoice date: 2020-07-06 → Due: 2020-07-05

User would expect in this case:

Invoice date: 2020-07-06 → Due: 2020-08-05

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 23, 2020, 6:37am UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/23 "2020-07-23T06:37:27Z")

</div>

> [@josesalvador](#):
>
> Another simple user case that does not work as a user would expect

This is doable:

- -5 days (or -6)
- +1 months
- 5 day

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [July 23, 2020, 4:07pm UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/24 "2020-07-23T16:07:52Z")

</div>

Wow!

It works!!! And the most important thing: I understand why.

Thank you @ced

Only one thing: Why do we need -6 days? Using only -5 days works even for leap years.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [July 23, 2020, 4:26pm UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/25 "2020-07-23T16:26:18Z")

</div>

> [@ced](#):
>
> This is doable:
> 
> - -5 days (or -6)
> - +1 months
> - 5 day

And if you will like to apply a delta to the days, you can do it by including it on the +1 months. So for example if you want to apply to pay on 30D + day 5 you should do:

- -5 days
- +1 month + 30 D
- 5 day

So we the missing feature is specifing multiple payment days on the same month.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 23, 2020, 4:33pm UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/26 "2020-07-23T16:33:12Z")

</div>

> [@josesalvador](#):
>
> Only one thing: Why do we need -6 days?

It depends if you want the invoice posted on 5th to be due the same day or the next month.

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [July 23, 2020, 4:45pm UTC](https://discuss.tryton.org/t/fixed-day-payment-terms/2390/27 "2020-07-23T16:45:59Z")

</div>

> [@ced](#):
>
> It depends if you want the invoice posted on 5th to be due the same day or the next month.

Got it!

It’s already perfectly clear for me.

Thank you.

[Previous page](https://discuss.tryton.org/t/fixed-day-payment-terms/2390.md?page=1)
