How to print VAT rates on the invoices

Mike Evans mikee at saxicola.idps.co.uk
Wed Feb 8 12:53:52 EST 2012


On Wed, 08 Feb 2012 10:39:30 +0100
William Anderle <william.anderle at gmail.com> wrote:

> Hello everybody
> I'd need help with a function of GnuCash
> Please not that I'm not a programmer, neither an accounting expert,
> so excuse me if my terms aren't perfect.
> 
> I'm trying testing GnuCash on a little Italian business, to see if it 
> could be a suitable accounting program.
> 
> As far as I see, it lacks a very important function which my client
> (and I suppose many others) absolutely needs:
> the ability to print on the invoices the VAT rate applied on the 
> individual terms.
> 
> I try to be more clear:
> -when I insert the data into the invoices, I'm able to chose
> different VAT rates (eg., 10% on manpower, 20% on goods and so on);
> -when I print the invoice, the final sum is correct; however, the
> print page rather than than the different VAT rates just shows a "T"
> which means "taxable".
> Please take a look at the image below to better understand what I
> mean: http://img217.imageshack.us/img217/3516/gnucashproblem2.jpg
> 
> Is it possibile to print the VAT rate rather than just a "T"?
> If yes, how?
> 
> Thanks to everyone for help.
> 
> Best regards
> 

William
Try this.
In invoice .scm, near line 210 

Comment with ;'s (as below) or delete this section

 ;   (if (tax-col column-vector)
 ;     (addto! row-contents
 ;       (if 
 ;       (if cust-doc?
 ;         (and (gncEntryGetInvTaxable entry)(gncEntryGetInvTaxTable entry))
 ;         (and (gncEntryGetBillTaxable entry)(gncEntryGetBillTaxTable entry))
 ;       )
 ;           (gncTaxTableGetName (gncEntryGetInvTaxTable entry)) 
 ;           (gncTaxTableGetName (gncEntryGetBillTaxTable entry)) 
 ;       ))
 ;     )
  


Insert below (or in place of):    
      
      (if (tax-col column-vector)
      (addto! row-contents
       (if cust-doc? 
       (gncTaxTableGetName (gncEntryGetInvTaxTable entry)) 
       (gncTaxTableGetName (gncEntryGetBillTaxTable entry)) 
       )
       ))

Test exhaustively and let me know the results.
It should really test for gncEntryGetBillTaxableentry etc., but seems to work without error as is.

Regards
Mike Evans


More information about the gnucash-user mailing list