Thakur
Thakur

Reputation: 2020

How to retrieve bill information for a check in Quickbooks

I want to get the list of all the bills for which a particular check has been generated.

Consider I have 2 grids on a form. 1st grid (gridChecks) displays all the checks in Quickbooks and when user selects a check, all the bills that are linked to that check should be displayed in the second grid i.e. gridBills which will have columns Date, Type, ReferenceNumber, OriginalAmount, Balance, Paid Amount.

I am not able to find how to use IBillPaymentCheckRet or which interface to use and how to use.

Upvotes: 0

Views: 549

Answers (1)

Paul Keister
Paul Keister

Reputation: 13077

The bills to which a check has been applied are referenced in the AppliedToTxnRet element (QBFC: AppliedToTxnRetList). In order to populate this element you'll have to specify it in the IncludeRetElement list for your BillPaymentCheck query request.

Upvotes: 1

Related Questions