use bill id when bill_ref is not available