1. Create a new invoice query.
  2. Select Dynamic for the format.
  3. On the Criteria tab, select any desired fields.
  4. On the Output tab, select the following:
    Invoice, Invoice number
    Invoice, Payment method
    Invoice account distribution, Account number
    Payment, Payment Distribution, Account number
  5. Select any other desired fields on the Output tab.
  6. Run the query.