[GNC] Printing Invoices

Adrien Monteleone adrien.monteleone at lusfiber.net
Sun Jan 1 17:08:10 EST 2023


When you bring up the invoice report from the Reports menu, no invoice 
is selected, so this is a correct message.

The message *should* be giving you a link to click bringing up the 
General tab of Options, but if not, click the Options button on the 
toolbar (which should default to the General tab) and either enter the 
invoice number where indicated, or search for it with the Select button.

Once you click Apply or Close, your invoice will now appear.

This is because when running from the Reports menu, GnuCash has 
absolutely no idea which invoice you want.

 From other parts of the program, you are specifically telling it you 
want a report *for the already selected* invoice.

Regards,
Adrien

On 1/1/23 3:19 PM, Steve Brown wrote:
> File->Print Invoice prints an opened invoice using the template at
> gnucash/report/reports/standard/invoice.scm.
> 
> So does the Print Invoice button in the Find Invoice screen
> And ditto the Print Invoice in the heading of the View Invoice screen
> 
> OTOH, Reports->Business->Printable Invoice just gives a "No valid
> invoice selected" message. The other Reports->Business invoice reports
> do the same thing.
> 
> The wiki gives some instructions to avoid this, but they don't seem to
> work.
> 
> In looking at the scheme file, this is caused by an "invoice" argument
> of null being passed.
> 
> What am I missing?
> 
> I'm trying to create a custom report with 4.13



More information about the gnucash-user mailing list