What's the difference between the queried amount and the invoice amount?

If you search an invoice by project and open the invoice to review the details, then you will see a value for the queried amount.

The queried amount on an invoice is from the project in your search criteria. The queried amount doesn't contain amounts from other projects that have transactions on the invoice.

The invoice amount is the amount of transactions from all projects that contributed to the invoice.