[GNC] Customizing invoices (Helmut Eller

Helmut Eller eller.helmut at gmail.com
Wed Mar 30 02:31:57 EDT 2022


On Tue, Mar 29 2022, John Ralls wrote:

> I'd think amounts on invoices should be in some integer multiple of
> the commodity's smallest fraction traded--that's a property of the
> commodity that you set in the New/Edit Security dialog--and should
> display as a decimal with the appropriate number of places if the
> fraction's denominator is a power of 10 or a rational number if not.
>
> Does that seem reasonable?

I'm not sure how securities can be used for invoices.  Anyway, in my
case we need to split up some amount of money among seven people
(members of a condominium).  So I thought it would be nice to use the
original amount as unit price and 1/7 as quantity.

I think the legally correct way would be to used 143‰ (per mille)
instead of the exact fraction.

Though, I must say that it's a cool feature that GnuCash uses exact
fractions internally.  And thanks to everybody who works on this.

Helmut


More information about the gnucash-user mailing list