Are you referring to purchase reference? Account references are assigned to clients rather than invoices? The answer either way unfortunately will be no. Purchase references are issued by clients so shouldn’t be automatically generated, account references for new clients aren’t generated automatically, they are a non-mandatory field.