It think you need
ap_invoices_all
invoice_id accounting_date
ap_checks_all
check_number
join both the tables using check_id