#296: add localtype to agencycode