I am working on making a connection between a local LLM AI server and Quickbooks desktop pro 2021, as I refuse to subscribe to Intuits latest offerings.
I have a copy of QB various versions from 2010 to 2021 if they are still wanted.
When researching how to connect QB to LM Studio, the mention of Python, and using a .qwc file, as an app to connect QB using QB Web Connector.
Just throwing this out there.
No issues with your code AFAIK.