Hi Alan,

My assumption would be the customer must identified in the saved report along with any other desired parameters.

Regards,

Sherlock


On 11/8/25 2:14 PM, Alan Johnson via gnucash-user wrote:
How did you specify the customer id?

Nov 8, 2025 16:58:38 Glenn Fowler <[email protected]>:

Hi I had the same issue needing the report in PDF so I just scripted it to run 
the report in HTML and then just convert that to PDF

--output-file myreport.html

----------------------------------------
*From:* gnucash-user <[email protected]> on 
behalf of Alan Johnson via gnucash-user <[email protected]>
*Sent:* Saturday, November 8, 2025 3:44 PM
*To:* [email protected] <[email protected]>
*Subject:* [GNC] CLI Report Running
Hello,

I am trying to run some reports from the CLI, however I am having some
trouble understanding the documentation.

I want to run a "customer report".

I have the following command working:

gnucash-cli -R run --name "Customer Report" --output-file test1
Troop892.gnucash

Running with "show" isn't helpful, I would have expected it to list
particular parameters for the report.

gnucash-cli -R show --name "Customer Report" --output-file test1
Troop892.gnucash

* name: Customer Report
guid: c146317be32e4948a561ec7fc89d15c1

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.


It wants a customer ID, but I don't see any way to enter that as a
parameter. How do I add that.


I would like it to make PDFs if possible as well, but when I attempt
that, I get the following message:

gnucash-cli -R run --name "Customer Report" --export-type pdf --output-
file test1.pdf Troop892.gnucash
Only the following reports have export code:
* Assets Over Time
* Expense Over Time
* Income and GST Statement
* Income/Expense Chart
* Income & Expense Linechart
* Income Over Time
* Liabilities Over Time
* Net Worth Barchart
* Net Worth Linechart
* Tax Schedule Report/TXF Export
Use -R show to describe report



_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to