[GNC] CLI Report Running

Sherlock sh025622 at gmail.com
Sat Nov 8 18:58:48 EST 2025


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 <gfowler1 at outlook.com>:
> 
>> 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 <gnucash-user-bounces+gfowler1=outlook.com at gnucash.org> on behalf of Alan Johnson via gnucash-user <gnucash-user at gnucash.org>
>> *Sent:* Saturday, November 8, 2025 3:44 PM
>> *To:* gnucash-user at gnucash.org <gnucash-user at gnucash.org>
>> *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
>>




More information about the gnucash-user mailing list