Locating AP Advance Billing Invoice?

Is there any way to figure out what ap invoice or invoice lines are designated for advanced billing? We have an advance payment balance that we believe was entered incorrectly and trying to find where it would’ve been entered through.

That would be designated as the line type on the invoice, so you could do a BAQ on the APInvDtl table and look for results where APInvDtl.LineType = A