counter number format not used in tax invoice

Paul de Vries paul.de.vries at xs4all.nl
Thu Jan 18 11:10:02 EST 2018


> On Thu, January 18, 2018 10:17 am, Paul de Vries wrote:
>> gnucash 2.6.18 on mac osx
>> 
>> i want the current year as part of the invoice number, so in book options
>> i specified the invoice number format as 'F2018-%04d'.
>> on the tax invoice the the invoice number is shown as '000001'.
>> 
>> changing the format using %ld %li %lld %lli doesn't change the output so i
>> suspect the definition is elsewhere.
>> 
>> a workaround would be to use a format like '2018001', numeric, with
>> counter at '2018001', but i want the option for more variations.
>> 
>> how can i do this?

> On 18 Jan 2018, at 16:23, Derek Atkins <derek at ihtfp.com> wrote:
> 
> Did you create the new invoice AFTER you updated the format?

for all variants above i created a new test file, changed the format, then created the invoice.

> That format is only used when creating new invoices, which is when the
> InvoiceID is created.  The Reports only take what's already in the
> invoice.


where is this InvoiceID stored? in the XML file, or in memory only?

-paul.


More information about the gnucash-user mailing list