[GNC] CLI Report Running

Alan Johnson alan at argentwolf.org
Sat Nov 8 15:44:58 EST 2025


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6302 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20251108/e6b73da6/attachment.p7s>


More information about the gnucash-user mailing list