Closed PeteLambert89 closed 1 year ago
You probably want the Purchase object. I’m typing this on mobile so might have something off but it would look something like:
from quickbooks.objects.purchase import Purchase
purchases = Purchase.where(“TxnDate >= ‘2022-12-01’”, qb=client)```
Thanks! Awesome.
On Dec 18, 2022, at 5:34 PM, Chris Nicholls @.***> wrote:
You probably want the Purchase object. I’m typing this on mobile so might have something off but it would look something like:
purchases = Purchase.where(“TxnDate >= ‘2022-12-01’”, qb=client)```
— Reply to this email directly, view it on GitHubhttps://github.com/ej2/python-quickbooks/issues/288#issuecomment-1356958774, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ4X4PDWBLQ7P2BPJV4KCSLWN63THANCNFSM6AAAAAATCX6TTU. You are receiving this because you authored the thread.Message ID: @.***>
Hi there,
I'm trying to figure out the SDK.
I'm attempting to query expenses for a business. Ideally filtered by a date range, and by expense type.
But I can't find a "Transaction" or "Expense" object... I assume I'm missing something obvious but I've been poring over the code to no avail.
Any help is appreciated!
Thanks,