E Invoice Type Code Practice Javascript