# Discount on invoice

**URL:** <https://discuss.tryton.org/t/discount-on-invoice/8209>\
**Category:** User\
**Tags:** accounting\
**Created:** [January 17, 2025, 3:57pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209 "2025-01-17T15:57:23Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 17, 2025, 3:57pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/1 "2025-01-17T15:57:23Z")

</div>

My customer (selling books) says it is a legal obligation in france to display public price and discount price on an **invoice**.

[https://www.economie.gouv.fr/entreprises/factures-mentions-obligatoires#](https://www.economie.gouv.fr/entreprises/factures-mentions-obligatoires#)

> The precise name, quantity, unit price excluding VAT and the rate of VAT added, as well as any discounts and rebates, must also be shown.  
> Catalog price  
> This is the unit price excluding VAT for products sold, or the hourly rate excluding VAT for services provided.

_i, of course, read, all the discussions about the subject : discount is marketing and no related to invoice…_

but it seems to be a legal thing, at least in france

---

<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:** [January 17, 2025, 4:06pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/2 "2025-01-17T16:06:10Z")

</div>

What they are talking is when the price is different on the invoice than on the sale order.

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 17, 2025, 4:37pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/3 "2025-01-17T16:37:19Z")

</div>

nope, they says that in the invoice there must be a unit\_price and the discount. there is not always a sale.order.

when you go to a bookstore if the shopkeeper gives you a 5% discount it must be on the invoice (if you have an invoice) _with_ the retail price.

his invoice template was designed by a chartered accountant

---

<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:** [January 17, 2025, 4:40pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/4 "2025-01-17T16:40:46Z")

</div>

This is exactly what I said.  
In France the price of books is fixed by the authorities not the company, so if they change the price it is always after.

This is simple to implement by displaying also on the invoice the official price.

But for me it is enough to display on the sale order.

But also book store should use POS which does not create invoice.

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 17, 2025, 4:42pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/5 "2025-01-17T16:42:27Z")

</div>

and the discount too (percentage or value)

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 17, 2025, 4:52pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/6 "2025-01-17T16:52:08Z")

</div>

when you sell a book the author of the book _can_ ask for all of the invoices related to his book. AND you must have the catalog price (what he earns is related to catalog\_price and not sell\_price).

of course you can/should/must make the calculation on the sale order _but_ the official paper is the invoice and the author can ask for all the invoices and they must show the catalog price.

anyway i found my way in doing it (well i hope).. i’ll ask for help if it does not work as expected.

i could do it in a small modules in order to make it available for others.

---

<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:** [January 17, 2025, 5:00pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/7 "2025-01-17T17:00:49Z")

</div>

> [@herve\_02](#):
>
> when you sell a book the author of the book _can_ ask for all of the invoices related to his book. AND you must have the catalog price (what he earns is related to catalog\_price and not sell\_price).

There is no need to put the discount nor the catalog price on the invoice for that.

> [@herve\_02](#):
>
> _but_ the official paper is the invoice

As a seller it is not required to always have an invoice.

> [@herve\_02](#):
>
> the author can ask for all the invoices and they must show the catalog price.

For me it is a practical solution (probably dating from manual accounting) based on a specific interpretation of the actual requirement.

---

<div class="post-metadata">

**Author:** ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)\
**Post date:** [January 21, 2025, 7:34am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/8 "2025-01-21T07:34:12Z")

</div>

Hi,

> [@ced](#):
>
> In France the price of books is fixed by the authorities not the company, so if they change the price it is always after.

No, the law says the publisher or importer of a book must fix its price and print it on the book (or at least, a letter code for a price with a list of codes and prices).

> **[Prix unique du livre - Syndicat national de l'édition](https://www.sne.fr/prix-unique-du-livre/regime-du-prix-du-livre/)**
>
> La fixation du prix des livres par l’éditeur est soumise au respect des textes suivants : loi n° 81-766 du 10 août 1981 relative au prix du livre modifiée par la loi n° 85-500 du 13 mai 1985 et du 18 juin 2003; décret n° 81-1068 du 3 décembre 1981...

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 21, 2025, 7:53am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/9 "2025-01-21T07:53:01Z")

</div>

> For me it is a practical solution (probably dating from manual accounting) based on a specific interpretation of the actual requirement.

For me it is the solution that my customer ask, and it is what i see each time i buy a book with a discount.

i understood that _you_ decide that the _sale_ document is the official document but that document won’t go in accountancy so it is a contract document not an official document.

anyway i’ll do it on my own and the tryton vanilla will keep that no _discount on invoice_

---

<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:** [January 21, 2025, 8:29am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/10 "2025-01-21T08:29:36Z")

</div>

> [@jcm](#):
>
> No, the law says the publisher or importer of a book must fix its price and print it on the book

So the authorities is the publisher or the importer.

> [@herve\_02](#):
>
> For me it is the solution that my customer ask, and it is what i see each time i buy a book with a discount.

Well it is not because everyone is done this way that it is the only way.

For example if the store makes a sale without invoice it (eg: for free), I guess this should also be in the reporting.  
Indeed I’m wondering if the reporting should not be based only on the stock move because what happens in case of lost by inventory.

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 21, 2025, 9:04am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/11 "2025-01-21T09:04:53Z")

</div>

everybody understood that _you_ do **not** want discount on invoice. just say no.

we are loosing time for nothing, i implemented on my own for our little solution so the “debate” is closed. the sale document is not a legal document. and the author will/would ask for the **invoice** because the invoice is was is in the accountancy.

of course you can not give an invoice, but you can not give a sale\_order neither so 1-1 ball in the middle. you are probably not force, in general accountancy, to register base\_price and sale\_price and discount.

BUT for this particular case we need a official document (i proposed the sale document to my customer-friend, but his expert chartered accountant said no) because i you just use stock (you also use stock because you must prove you did not sell without invoice) it is not possible to follow the price change.  
As the base\_price is the base of the remuneration it must be indicate somewhere.

for convenience we decided to use the flow sale\>invoice instead of direct invoice (for the automatic price and a part of delivery follow) but we must indicate in the invoice (my customer-friend want that, else it is a no-go)

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 21, 2025, 9:06am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/12 "2025-01-21T09:06:44Z")

</div>

> [@ced](#):
>
> For example if the store makes a sale without invoice it (eg: for free), I

there is a special “document” for that. what is given free can raise remuneration, depending on conditions i do not know (and i do not need to know) just have the item count in the right box

---

<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:** [January 21, 2025, 9:09am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/13 "2025-01-21T09:09:23Z")

</div>

> [@herve\_02](#):
>
> the “debate” is closed

Indeed because you do not show concret requirements but just the told of someone else.  
In such condition it is not possible to discuss and you will not be able to push any improvement to Tryton.

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 21, 2025, 9:36am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/14 "2025-01-21T09:36:59Z")

</div>

i think we did not understand each others. I told you what is needed : an official document with base\_price and discount (the 1st link)  
you decided that the sale\_order was that official document. it is you opinion. ok.

I don’t pretend to push something on tryton. i remember what was the argument for no automatic price in invoice “to act like in other modules” and “not to duplicate code”. there is nothing to argue with that. So from the beginning I understood that it will be to much time to argue to make things change and i am a “nobody” just using for my needs.

I just tell things, not to make changes in tryton or push things in it, i tell things to be found if someone find the same error than me, he will gain time with what i found. and that is my only will.

---

<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:** [January 21, 2025, 9:41am UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/15 "2025-01-21T09:41:53Z")

</div>

Then post on [https://discuss.tryton.org/c/message-board/38](https://discuss.tryton.org/c/message-board/38) if you just want to record your journey.

---

<div class="post-metadata">

**Author:** ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Post date:** [January 21, 2025, 12:39pm UTC](https://discuss.tryton.org/t/discount-on-invoice/8209/16 "2025-01-21T12:39:42Z")

</div>

thank you very much for the link.
