use bill_ref and detect multiple doc in bill doc