[GNC] Customizing invoices (Helmut Eller

john jralls at ceridwen.us
Wed Mar 30 21:33:41 EDT 2022


Not a currency: Currency smallest fractions are set by law in the currency's issuing country, the ISO4217 committee maintains a list, and GnuCash follows that list. Non-currency commodities are more user-configurable via the Security editor, though you'll make yourself crazy if you set something different from what fraction actually trades for securities. For commodities that aren't securities or currencies it may make sense to set some other fraction, as in the example of the user selling subscriptions denominated in years who wants a fraction of 1/12.

Regards,
John Ralls


> On Mar 30, 2022, at 9:35 AM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
> 
> 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.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user <https://lists.gnucash.org/mailman/listinfo/gnucash-user>
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists <https://wiki.gnucash.org/wiki/Mailing_Lists> for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list