🐛 Issue: SDK Unable to Retrieve Purchase Cash and Purchase Credit Transactions
Description
We are encountering an issue when using the QuickBooks Online SDK to query Purchase transactions. Specifically, both Purchase Cash and Purchase Credit transactions are not being returned as expected.
Steps to Reproduce
-
Use the SDK to query Purchase transactions.
-
Attempt to filter or retrieve:
- Cash purchases (e.g.,
PaymentType = Cash)
- Credit purchases (e.g.,
PaymentType = CreditCard or similar)
-
Execute the query.
Expected Behavior
The SDK should return all Purchase transactions, including both:
- Cash purchases
- Credit purchases
Actual Behavior
- No results are returned, or incomplete data is retrieved.
- Filtering by
PaymentType does not work as expected.
Sample Query Attempt
$q->where('PaymentType.value', 'Cash');
Environment
- SDK Version: 6.2
- Laravel Version: 12
- PHP Version: ^8.2
- QuickBooks Online API Version: 97
- Region: US
Additional Context
- The issue occurs even when Purchase transactions exist in QuickBooks.
- Other entities can be queried successfully using the same SDK setup.
Questions
- Is there a specific way to query Purchase transactions by payment type?
- Are there known limitations or required fields for retrieving Cash vs Credit purchases?
- Should a different entity or query structure be used?
Impact
This issue blocks the ability to properly sync or categorize purchase transactions based on payment method.
Please advise on the correct approach or any fixes for this issue.
🐛 Issue: SDK Unable to Retrieve Purchase Cash and Purchase Credit Transactions
Description
We are encountering an issue when using the QuickBooks Online SDK to query Purchase transactions. Specifically, both Purchase Cash and Purchase Credit transactions are not being returned as expected.
Steps to Reproduce
Use the SDK to query Purchase transactions.
Attempt to filter or retrieve:
PaymentType = Cash)PaymentType = CreditCardor similar)Execute the query.
Expected Behavior
The SDK should return all Purchase transactions, including both:
Actual Behavior
PaymentTypedoes not work as expected.Sample Query Attempt
Environment
Additional Context
Questions
Impact
This issue blocks the ability to properly sync or categorize purchase transactions based on payment method.
Please advise on the correct approach or any fixes for this issue.