User Tools

Site Tools


gnucash:customization

Customizing Gnucash

Creating custom invoices

See: this link for additional instructions. Notes tested here are below.

This is for Mac OS X (Snow Leopard) Installation.

Files to customize are located in HardDrive/Library/Gnucash-2.3.x(Shortcut)/share/gnucash/guile-modules/gnucash/report/

Changes to stylesheets will only be visible in the invoice upon restarting Gnucash.

Once you have created an Invoice (Reports → Business → Easy Invoice or Fancy Invoice) then you can apply a stylesheet using the Options dialog window.

You will have 4 options for stylesheet defined by corresponding stylesheet files (not sure the convention, why, or how yet):

  • Default → stylesheet-plain.scm
  • Easy → stylesheet-easy.scm
  • Footer → stylesheet-footer.scm
  • Technicolor → stylesheet-fancy.scm

To customize the content of the invoices, customize the following files (corresponding report name shown in Reports → Business is shown below). The name of the invoice as shown in the Report→ Business menu is also shown within these files toward the end of the file within the section “Define Report (define-report)”:

  • Easy Invoice → easy-invoice.scm
  • Fancy Invoice → fancy-invoice.scm
  • Printable Invoice → invoice.scm
  • Tax Invoice → taxinvoice.scm

To add a new invoice, you could copy an existing invoice template (one of the four above) and then make sure to:

  1. Change the guid and report name in the .scm file.
  2. Add the report to the business-reports.scm file (also located in the same folder).
  3. Restart Gnucash to see the report now listed (listed in alphabetical order).
gnucash/customization.txt · Last modified: 2014/06/05 12:16 (external edit)