[GNC] Customizing invoices (Helmut Eller

Adrien Monteleone adrien.monteleone at lusfiber.net
Wed Mar 30 12:35:42 EDT 2022


Helmut,

It isn't a matter of using securities on invoices.

The Security Editor is simply where you set the smallest fraction of a 
currency. (and thus the number of digits displayed) John is proposing 
tying that setting in to be used outside of securities, in this case for 
invoices amounts. (so you only set it one place)

But that is a separate issue from Quantity. Chris is working on a 
solution for both. (while researching your Quantity issue, I found the 
same problem exists for Unit Prices, so they're getting tackled together)

Regards,
Adrien

On 3/30/22 1:31 AM, Helmut Eller wrote:
> 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.



More information about the gnucash-user mailing list