ReceivePaymentQuery qbXML example

Reads payments changed since a date, with the invoices each was applied to.

qbXML ReceivePaymentQueryRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ReceivePaymentQueryRq iterator="Start">
      <MaxReturned>100</MaxReturned>
      <ModifiedDateRangeFilter>
        <FromModifiedDate>2026-01-01T00:00:00-06:00</FromModifiedDate>
      </ModifiedDateRangeFilter>
      <IncludeLineItems>true</IncludeLineItems>
    </ReceivePaymentQueryRq>
  </QBXMLMsgsRq>
</QBXML>
Open in the validator Check it against the qbXML 16.0 schema, edit it, and run it in your own QuickBooks.

Things to know

  • What a payment was applied to (AppliedToTxnRet) comes back only with IncludeLineItems true.
  • Page large results: iterator="Start" with MaxReturned on the first request, then iterator="Continue" with the iteratorID from the answer.

The same request with QuBe Sync's API

QuBe Sync takes these parameters, writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON.

GET /api/v2/connections/{connection_id}/receive-payments
?include_line_items=true
&iterator=true
&max_returned=100
&modified_date_range_filter[from_modified_date]=2026-01-01T00:00:00-06:00

Every field ReceivePaymentQuery takes is in Intuit's reference.

More requests

Customers and sales

All qbXML examples